/ Модель

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

Контекст
32 768 токенов
Параметры
6,3 млрд
Лицензия
Apache 2.0
Архитектура
olmo_hybrid · dense
Базовая модель
Olmo-Hybrid-7B
Библиотека
transformers
Опубликована
20 фев 2026

Olmo-Hybrid-Instruct-DPO-7B

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

Англоязычная диалоговая модель Ai2 на 6,3 млрд параметров для генерации ответов и текста, дообученная на математических, программных и общих запросах.

816скачиваний за 30 дней21лайквеса обновлены5 мар 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Olmo Hybrid Instruct DPO 7B — англоязычная авторегрессионная языковая модель семейства Olmo Hybrid, разработанная Allen Institute for AI (Ai2). Это плотная гибридная RNN-модель на 6,3 млрд параметров, дообученная методом supervised fine-tuning и оптимизации предпочтений DPO на запросах по математике, программированию, диалогам и общим знаниям. Она предназначена для диалоговых ответов и генерации текста; поддерживает контекст до 32 768 токенов и запускается через Transformers 5.3.0 или выше.

В карточке приведены результаты оценки на математических бенчмарках, включая MATH и AIME. Модель выпускается в формате safetensors и распространяется по лицензии Apache 2.0; Ai2 указывает исследовательское и образовательное применение в соответствии с рекомендациями Responsible Use. Без дополнительной фильтрации она может генерировать вредный или предвзятый контент, а ответы могут содержать фактические ошибки.

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

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

Ограничения

Модель может выдавать фактические ошибки, предвзятые или вредные ответы, особенно без дополнительной фильтрации. Лицензионное описание рекомендует исследовательское и образовательное применение в соответствии с правилами Ai2 Responsible Use.

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

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

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

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

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

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

Открыть на Hugging Face

Model Details

Model Card for Olmo Hybrid Instruct DPO

We expand on our Olmo model series by introducing Olmo Hybrid, a new 7B hybrid RNN model in the Olmo family. Olmo Hybrid dramatically outperforms Olmo 3 in final performance, consistently showing roughly 2x data efficiency on core evals over the course of our pretraining run. We also show gains in performance on long-context benchmarks, as well as improved inference efficiency (throughput and memory) on long-context lengths by a factor of 75%.

The core models released in this batch include the following:

StageOlmo 3 7B ThinkOlmo 3 32B ThinkOlmo 3 7B InstructOlmo Hybrid Think 7BOlmo Hybrid Instruct 7B
Base ModelOlmo-3-7BOlmo-3-32BOlmo-3-7BOlmo-Hybrid-7BOlmo-Hybrid-7B
SFTOlmo-3-7B-Think-SFTOlmo-3-32B-Think-SFTOlmo-3-7B-Instruct-SFTOlmo-Hybrid-Think-SFT-7BOlmo-Hybrid-Instruct-SFT-7B
DPOOlmo-3-7B-Think-DPOOlmo-3-32B-Think-DPOOlmo-3-7B-Instruct-DPO--Olmo-Hybrid-Instruct-DPO-7B
Final Models (RLVR)Olmo-3-7B-ThinkOlmo-3-32B-ThinkOlmo-3-7B-Instruct----

Olmo is a series of Open language models designed to enable the science of language models. These models are pre-trained on the Dolma 3 dataset and post-trained on the Dolci datasets. We are releasing all code, checkpoints, logs (coming soon), and associated training details.

Installation

Olmo Hybrid is supported in transformers 5.3.0 or higher:

pip install transformers>=5.3.0

Inference

You can use OLMo with the standard HuggingFace transformers library:

from transformers import AutoModelForCausalLM, AutoTokenizer
olmo = AutoModelForCausalLM.from_pretrained("allenai/allenai/Olmo-Hybrid-Instruct-DPO-7B")
tokenizer = AutoTokenizer.from_pretrained("allenai/allenai/Olmo-Hybrid-Instruct-DPO-7B")
message = ["Who would win in a fight - a dinosaur or a cow named Moo Moo?"]
inputs = tokenizer(message, return_tensors='pt', return_token_type_ids=False)
# optional verifying cuda
# inputs = {k: v.to('cuda') for k,v in inputs.items()}
# olmo = olmo.to('cuda')
response = olmo.generate(**inputs, max_new_tokens=100, do_sample=True, top_k=50, top_p=0.95)
print(tokenizer.batch_decode(response, skip_special_tokens=True)[0])
>> '<think>Okay, so the question is who would win in a fight...'

For faster performance, you can quantize the model using the following method:

AutoModelForCausalLM.from_pretrained("allenai/allenai/Olmo-Hybrid-Instruct-DPO-7B", 
    torch_dtype=torch.float16, 
    load_in_8bit=True)  # Requires bitsandbytes

The quantized model is more sensitive to data types and CUDA operations. To avoid potential issues, it's recommended to pass the inputs directly to CUDA using:

inputs.input_ids.to('cuda')

We have released checkpoints for these models. For post-training, the naming convention is step_XXXX.

To load a specific model revision with HuggingFace, simply add the argument revision:

olmo = AutoModelForCausalLM.from_pretrained("allenai/allenai/Olmo-Hybrid-Instruct-DPO-7B", revision="main")

Or, you can access all the revisions for the models via the following code snippet:

from huggingface_hub import list_repo_refs
out = list_repo_refs("allenai/allenai/Olmo-Hybrid-Instruct-DPO-7B")
branches = [b.name for b in out.branches]

Chat template

Default System Message

The default system prompt for this model is:

<|im_start|>system
You are a helpful function-calling AI assistant. You do not currently have access to any functions. <functions></functions>
<|im_end|>

Chat Format

The chat template for this model is formatted as:

<|im_start|>system
You are a helpful function-calling AI assistant. You do not currently have access to any functions. <functions></functions>
<|im_start|>user
Who would win in a fight - a dinosaur or a cow named Moo Moo?<|im_end|>
<|im_start|>assistant
This is a fun and imaginative question! Let’s break it down...
Moo Moo the cow would certinaly win.
<|endoftext|>

Model Description

  • Developed by: Allen Institute for AI (Ai2)
  • Model type: a Transformer style autoregressive language model.
  • Language(s) (NLP): English
  • License: This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines.
  • Contact: Technical inquiries: olmo@allenai.org. Press: press@allenai.org
  • Date cutoff: Dec. 2024.

Model Sources

Evaluation

SkillBenchmarkOlmo Hybrid Instruct SFT 7BOlmo Hybrid Instruct DPO 7BOlmo 3 Instruct 7B SFTOlmo 3 Instruct 7B DPOOlmo3 Instruct 7BQwen 3 8B (no reasoning)Qwen 3 VL 8B InstructQwen 2.5 7BOlmo 2 7B InstructApertus 8B InstructGranite 3.3 8B Instruct
MathMATH66.772.965.179.687.382.391.671.030.121.967.3
AIME 20246.710.16.723.544.326.255.111.31.30.57.3
AIME 20258.810.27.220.432.521.743.36.30.40.26.3
OMEGA16.019.514.422.828.920.532.313.75.25.010.7
ReasoningBigBenchHard47.357.351.069.371.273.785.668.843.842.261.2
ZebraLogic17.029.118.028.432.925.464.310.75.35.317.6
AGI Eval English59.264.064.476.084.569.856.150.864.0
CodingHumanEvalPlus69.275.169.872.977.279.882.974.925.834.464.0
MBPP+55.356.956.555.960.264.466.362.640.742.154.0
LiveCodeBench v321.322.020.018.829.553.255.934.57.27.811.5
IFIFEval81.580.581.782.085.686.387.873.472.271.477.5
IFBench29.033.327.429.332.329.334.028.426.722.122.3
KnowledgeMMLU71.973.667.169.169.180.483.677.261.662.763.5
QAPopQA16.821.016.520.714.120.426.521.525.525.528.9
GPQA36.838.030.037.940.444.651.135.631.328.833.0
ChatAlpacaEval 2 LC25.656.321.843.340.949.873.523.018.38.128.6
Tool UseSimpleQA74.279.879.379.090.378.0–––
LitQA238.043.338.239.630.729.8–––
BFCL48.949.649.860.266.255.8–––
SafetySafety89.290.287.378.080.273.493.172.273.7

Model Details

Stage 1: SFT

  • supervised fine-tuning on the Dolci-Instruct-SFT-7B dataset. This dataset consits of math, code, chat, and general knowledge queries.
  • Datasets: Dolci-Instruct-SFT-7B

Stage 2:DPO

  • direct preference optimization on the Dolci-Instruct-DPO-7B dataset. This dataset consits of math, code, chat, and general knowledge queries.
  • Datasets: Dolci-Instruct-DPO-7B

Inference & Recommended Settings

We evaluated our models on the following settings. We also recommend using them for generation:

  • temperature: 0.6
  • top_p: 0.95
  • max_tokens: 32768

transformers Example

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "allenai/Olmo-Hybrid-Instruct-DPO-7B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="auto",
)

prompt = "Who would win in a fight - a dinosaur or a cow named MooMoo?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

outputs = model.generate(
    **inputs,
    temperature=0.6,
    top_p=0.95,
    max_new_tokens=32768,
)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

vllm Example

from vllm import LLM, SamplingParams

model_id = "allenai/Olmo-Hybrid-Instruct-DPO-7B"
llm = LLM(
    model=model_id,
    mamba_ssm_cache_dtype="float32",
)

sampling_params = SamplingParams(
    temperature=0.6,
    top_p=0.95,
    max_tokens=32768,
)

prompt = "Who would win in a fight - a dinosaur or a cow named MooMoo?"
outputs = llm.generate(prompt, sampling_params)
print(outputs[0].outputs[0].text)

Bias, Risks, and Limitations

Like any base language model or fine-tuned model without safety filtering, these models can easily be prompted by users to generate harmful and sensitive content. Such content may also be produced unintentionally, especially in cases involving bias, so we recommend that users consider the risks when applying this technology. Additionally, many statements from OLMo or any LLM are often inaccurate, so facts should be verified.

License

This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines.

Citation

Coming Soon!

Model Card Contact

For errors in this model card, contact olmo@allenai.org.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей