/ Модель

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

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

OLMo-2-1124-7B-DPO

Генерация текстаТекст → текст

Русское описание этой модели ещё готовится. Пока можно заглянуть в карточку модели от автора ниже.

2 517скачиваний за 30 дней1лайквеса обновлены6 янв 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

OLMo-2-1124-7B-DPO

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 DPO November 2024 is post-trained variant of the OLMo 2 7B 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

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-7B-DPO")

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

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

Подбираем GPU…

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

0 моделей