/ Модель

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

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

OLMo-2-1124-7B-RM

Классификация текстаТекст → label5 профессий

Англоязычная модель AllenAI семейства OLMo 2 для диалогов, следования инструкциям и оценки ответов, дообученная на данных Tülu 3.

1 347скачиваний за 30 дней3лайкавеса обновлены9 июн 2025

Бенчмарки

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

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

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

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

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

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

allenai/OLMo-2-1124-7B-RM — англоязычная диалоговая модель с 6,9 млрд параметров из семейства OLMo 2, разработанного Allen Institute for AI. Это дообученная версия OLMo-2-1124-7B-SFT: по карточке она прошла supervised fine-tuning и DPO на варианте набора Tülu 3; архитектура — плотная модель для классификации последовательностей, работающая через Transformers и PyTorch. Контекст составляет 4096 токенов.

Модель предназначена для диалогов и задач следования инструкциям, включая математические задачи и оценивание ответов. Метаданные относят её к генерации текста и классификации текста; для практического использования reward-моделей карточка рекомендует библиотеку Open Instruct, поскольку поддержка в Transformers требует регистрации класса Olmo2ForSequenceClassification. Лицензия — Apache 2.0.

Основной язык — английский. Карточка предупреждает, что у моделей OLMo-2 ограничено обучение безопасности, поэтому ответы могут быть проблемными, особенно при соответствующих запросах; автоматической фильтрации ответов нет.

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

  • генерация ответов в диалоговом помощнике
  • следование пользовательским инструкциям на английском языке
  • решение математических задач и задач на рассуждение
  • оценивание качества ответов языковой модели
  • эксперименты с reward-моделями и постобучением LLM

Ограничения

Модель имеет ограниченное обучение безопасности и может выдавать проблемные ответы; автоматическая фильтрация не встроена. Для использования как reward-модели карточка рекомендует Open Instruct, поскольку Transformers требует регистрации класса Olmo2ForSequenceClassification.

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

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

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

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

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

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

Открыть на Hugging Face

OLMo-2-1124-7B-RM

NOTE: 1/3/2025 UPDATE:

Upon the initial release of OLMo-2 models, we realized the post-trained models did not share the pre-tokenization logic that the base models use. As a result, we have trained new post-trained models. The new models are available under the same names as the original models, but we have made the old models available with a postfix "-preview". See OLMo 2 Preview Post-trained Models for the colleciton of the legacy models.

Release Documentation

OLMo-2 7B RM 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. 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 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-RMallenai/OLMo-2-1124-13B-RM

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-7B-1124-SFT

Model Sources

Using the model

OLMo 2 Reward Models will be supported in a future version of Transformers, but for now, they are supported in the Open Instruct library. Without a hotfix that registers the class Olmo2ForSequenceClassification, Transformers will throw an error. Feel free to use this code in your tooling!

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.210.249.759.674.666.925.361.182.123.648.6
OLMo-2-7B-DPO54.227.946.760.282.673.030.360.881.023.556.0
OLMo-2-13B-SFT55.311.559.671.376.368.629.568.082.329.457.1
OLMo-2-13B-DPO60.638.357.971.582.380.235.267.979.729.063.9
OLMo-2-7B-1124–Instruct54.829.146.660.585.172.332.561.380.623.256.5
OLMo-2-13B-1124-Instruct62.039.558.871.587.482.639.268.579.128.864.3

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

@article{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 · text-classification

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

Подбираем GPU…

Класс архитектуры
Olmo2ForSequenceClassification
Ревизия весов
9d942da

0 моделей