/ Модель

Характеристики

Контекст
4 096 токенов
Параметры
13,2 млрд
Размер весов
27,4 ГБ
Лицензия
Apache 2.0
Архитектура
olmo2 · dense
Базовая модель
OLMo-2-1124-13B-DPO
Библиотека
transformers
Опубликована
26 ноя 2024

OLMo-2-1124-13B-Instruct-preview

Генерация текстаТекст → текст8 профессий

Англоязычная чат-модель OLMo 2 на 13,2 млрд параметров для диалога, выполнения инструкций и генерации текста.

318скачиваний за 30 дней58лайковвеса обновлены6 янв 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

OLMo-2-1124-13B-Instruct-preview — англоязычная чат-модель Allen Institute for AI (AI2), выпущенная в ноябре 2024 года. Это плотная авторегрессионная модель семейства OLMo 2 с 13,2 млрд параметров, предназначенная для диалога, выполнения инструкций и генерации текста; максимальная длина контекста — 4096 токенов.

Модель создана на основе OLMo-2-1124-13B-DPO: после обучения с учителем и оптимизации по предпочтениям она прошла дополнительное RLVR-обучение. В README отмечена ориентация на широкий набор задач, включая математику, GSM8K и следование инструкциям. Основной язык — английский. Лицензия Apache 2.0 допускает свободное использование на её условиях.

Модель можно применять для англоязычного ассистента, ответов на вопросы и решения задач с инструкциями. У неё ограничено обучение безопасности, поэтому она может генерировать проблемный контент, особенно в ответ на соответствующие запросы; автоматическая фильтрация ответов не предусмотрена.

Сценарии применения

  • создание англоязычного чат-ассистента
  • ответы на вопросы и выполнение инструкций
  • решение математических задач и задач GSM8K
  • генерация англоязычных текстов
  • проверка следования модели инструкциям

Ограничения

Модель имеет ограниченное обучение безопасности и может выдавать проблемный контент; встроенная автоматическая фильтрация ответов не предусмотрена.

Для каких профессий подходит8

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

OLMo-2-1124-13B-Instruct

OLMo-2 13B Instruct November 2024 is post-trained variant of the OLMo-2 13B November 2024 model, which has undergone supervised finetuning on an OLMo-specific variant of the Tülu 3 dataset and further DPO training on this dataset, and finally RLVR training using this data. Tülu 3 is designed for state-of-the-art performance on a diversity of tasks in addition to chat, such as MATH, GSM8K, and IFEval. Check out the OLMo 2 paper (forthcoming) or Tülu 3 paper for more details!

OLMo is a series of Open Language Models designed to enable the science of language models. These models are trained on the Dolma dataset. We are releasing all code, checkpoints, logs (coming soon), and associated training details. The core models released in this batch include the following:

StageOLMo-2 7BOLMo 2 13B
Base Modelallenai/OLMo2-7B-1124allenai/OLMo-2-13B-1124
SFTallenai/OLMo-2-1124-7B-SFTallenai/OLMo-2-1124-13B-SFT
DPOallenai/OLMo-2-1124-7B-DPOallenai/OLMo-2-1124-13B-DPO
Final Models (RLVR)allenai/OLMo-2-1124-7B-Instructallenai/OLMo-2-1124-13B-Instruct
Reward Model (RM)allenai/OLMo-2-1124-7B-RM(Same as 7B)

Model description

  • Model type: A model trained on a mix of publicly available, synthetic and human-created datasets.
  • Language(s) (NLP): Primarily English
  • License: Apache 2.0
  • Finetuned from model: allenai/OLMo-2-13B-1124-DPO

Model Sources

Installation

OLMo 2 will be supported in the next version of Transformers, and you need to install it from the main branch using:

pip install --upgrade git+https://github.com/huggingface/transformers.git

Using the model

Loading with HuggingFace

To load the model with HuggingFace, use the following snippet:

from transformers import AutoModelForCausalLM

olmo_model = AutoModelForCausalLM.from_pretrained("allenai/OLMo-2-1124-13B-Instruct")

Chat template

The chat template for our models is formatted as:

<|endoftext|><|user|>\nHow are you doing?\n<|assistant|>\nI'm just a computer program, so I don't have feelings, but I'm functioning as expected. How can I assist you today?<|endoftext|>

Or with new lines expanded:

<|endoftext|><|user|>
How are you doing?
<|assistant|>
I'm just a computer program, so I don't have feelings, but I'm functioning as expected. How can I assist you today?<|endoftext|>

It is embedded within the tokenizer as well, for tokenizer.apply_chat_template.

System prompt

In Ai2 demos, we use this system prompt by default:

You are OLMo 2, a helpful and harmless AI Assistant built by the Allen Institute for AI.

The model has not been trained with a specific system prompt in mind.

Bias, Risks, and Limitations

The OLMo 2 models have limited safety training, but are not deployed automatically with in-the-loop filtering of responses like ChatGPT, so the model can produce problematic outputs (especially when prompted to do so). See the Falcon 180B model card for an example of this.

Performance

ModelAverageAlpacaEvalBBHDROPGSM8kIFEvalMATHMMLUSafetyPopQATruthQA
Open weights models
Gemma-2-9B-it51.943.72.558.879.769.929.869.175.528.361.4
Ministral-8B-Instruct52.131.456.256.280.056.440.068.556.220.255.5
Mistral-Nemo-Instruct-240750.945.854.623.681.464.531.970.052.726.957.7
Qwen-2.5-7B-Instruct57.129.725.354.483.874.769.976.675.018.163.1
Llama-3.1-8B-Instruct58.925.869.761.783.480.642.571.370.228.455.1
Tülu 3 8B60.434.066.062.687.682.443.768.275.429.155.0
Qwen-2.5-14B-Instruct60.834.634.050.583.982.470.681.179.321.170.8
Fully open models
OLMo-7B-Instruct28.25.235.330.714.332.22.146.354.017.144.5
OLMo-7B-0424-Instruct33.18.534.447.923.239.25.248.949.318.955.2
OLMoE-1B-7B-0924-Instruct35.58.537.234.347.246.28.451.651.620.649.1
MAP-Neo-7B-Instruct42.917.626.448.269.435.931.556.573.718.451.6
OLMo-2-7B-SFT50.09.350.758.271.268.025.162.082.425.047.8
OLMo-2-7B-DPO55.029.947.058.882.474.531.263.481.524.557.2
OLMo-2-13B-SFT55.712.058.871.875.771.531.167.382.829.356.2
OLMo-2-13B-DPO61.038.358.571.984.280.635.068.580.628.963.9
OLMo-2-7B-1124–Instruct55.731.048.558.985.275.631.363.981.224.656.3
OLMo-2-13B-1124-Instruct61.437.558.472.187.480.439.768.677.528.863.9

Hyperparameters

PPO settings for RLVR:

  • Learning Rate: 4 × 10⁻⁷
  • Discount Factor (gamma): 1.0
  • General Advantage Estimation (lambda): 0.95
  • Mini-batches (N_mb): 1
  • PPO Update Iterations (K): 4
  • PPO's Clipping Coefficient (epsilon): 0.2
  • Value Function Coefficient (c1): 0.1
  • Gradient Norm Threshold: 1.0
  • Learning Rate Schedule: Linear
  • Generation Temperature: 1.0
  • Batch Size (effective): 512
  • Max Token Length: 2,048
  • Max Prompt Token Length: 2,048
  • Penalty Reward Value for Responses without an EOS Token: -10.0
  • Response Length: 2,048
  • Total Episodes: 100,000 (this checkpoint is training step 360)
  • KL penalty coefficient (beta): 0.03
  • Warm up ratio (omega): 0.0

License and use

OLMo 2 is licensed under the Apache 2.0 license. OLMo 2 is intended for research and educational use. For more information, please see our Responsible Use Guidelines. This model has been fine-tuned using a dataset mix with outputs generated from third party models and are subject to additional terms: Gemma Terms of Use.

Citation

@misc{olmo20242olmo2furious,
      title={2 OLMo 2 Furious}, 
      author={Team OLMo and Pete Walsh and Luca Soldaini and Dirk Groeneveld and Kyle Lo and Shane Arora and Akshita Bhagia and Yuling Gu and Shengyi Huang and Matt Jordan and Nathan Lambert and Dustin Schwenk and Oyvind Tafjord and Taira Anderson and David Atkinson and Faeze Brahman and Christopher Clark and Pradeep Dasigi and Nouha Dziri and Michal Guerquin and Hamish Ivison and Pang Wei Koh and Jiacheng Liu and Saumya Malik and William Merrill and Lester James V. Miranda and Jacob Morrison and Tyler Murray and Crystal Nam and Valentina Pyatkin and Aman Rangapur and Michael Schmitz and Sam Skjonsberg and David Wadden and Christopher Wilhelm and Michael Wilson and Luke Zettlemoyer and Ali Farhadi and Noah A. Smith and Hannaneh Hajishirzi},
      year={2024},
      eprint={2501.00656},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2501.00656}, 
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Olmo2ForCausalLM
Ревизия весов
76aeaf0

0 моделей