/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
15,2 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-Math-7B-RoPE-300k
Библиотека
transformers
Опубликована
22 мая 2025

OpenR1-Distill-7B

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

OpenR1-Distill-7B — дообученная модель Qwen2 для генерации пошаговых рассуждений по математике, программированию и науке на английском языке.

151скачиваний за 30 дней23лайкавеса обновлены26 мая 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

OpenR1-Distill-7B — языковая модель с 7,1 млрд параметров, разработанная командой Open-R1 на основе Qwen2.5-Math-7B с расширенной частотой RoPE. Модель дообучена методом supervised fine-tuning на Mixture-of-Thoughts — наборе из 350 тысяч проверенных цепочек рассуждений, дистиллированных из DeepSeek-R1. Архитектура — плотная Qwen2, модель для генерации текста с поддержкой диалогового режима и контекстом до 32 768 токенов.

Модель предназначена для пошаговых рассуждений на английском языке в задачах математики, программирования и науки, а также для исследований вычислений на этапе вывода и обучения с проверяемыми вознаграждениями. В опубликованных оценках указаны результаты на AIME 2024, MATH-500, GPQA Diamond и LiveCodeBench; сравнение зависит от протокола выборки ответов.

Модель распространяется под лицензией Apache 2.0. Она ориентирована прежде всего на английский язык, а результаты в бенчмарках не гарантируют точность на произвольных запросах; для задач, требующих достоверных ответов, выводы следует проверять.

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

  • Решение математических задач с пошаговым объяснением
  • Подготовка и проверка решений задач уровня олимпиадной математики
  • Написание и анализ программного кода
  • Ответы на научные вопросы с рассуждением
  • Исследование методов inference-time compute и RLVR

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Model summary

OpenR1-Distill-7B is post-trained version of Qwen/Qwen2.5-Math-7B on Mixture-of-Thoughts: a curated dataset of 350k verified reasoning traces distilled from DeepSeek-R1. The dataset spans tasks in mathematics, coding, and science, and is designed to teach language models to reason step-by-step.

OpenR1-Distill-7B replicates the reasoning capabilities of deepseek-ai/DeepSeek-R1-Distill-Qwen-7B while remaining fully open and reproducible. It is ideal for research on inference-time compute and reinforcement learning with verifiable rewards (RLVR).

Model description

  • Model type: A 7B parameter GPT-like model, post-trained on a mix of publicly available, synthetic datasets.
  • Language(s) (NLP): Primarily English
  • License: Apache 2.0
  • Finetuned from model: a variant of Qwen/Qwen2.5-Math-7B, whose RoPE base frequency was extended to 300k to enable training on a context of 32k tokens.

Model Sources

Usage

To chat with the model, first install 🤗 Transformers:

pip install transformers>0.52

Then run the chat CLI as follows:

transformers chat open-r1/OpenR1-Distill-7B \
    max_new_tokens=2048 \
    do_sample=True \
    temperature=0.6 \
    top_p=0.95

Alternatively, run the model using the pipeline() function:

import torch
from transformers import pipeline

pipe = pipeline("text-generation", model="open-r1/OpenR1-Distill-7B", torch_dtype=torch.bfloat16, device_map="auto")

messages = [
    {"role": "user", "content": "Which number is larger, 9.9 or 9.11?"},
]
outputs = pipe(messages, max_new_tokens=2048, do_sample=True, temperature=0.6, top_p=0.95, return_full_text=False)
print(outputs[0]["generated_text"])

Performance

We use Lighteval to evaluate models on the following benchmarks:

ModelAIME 2024MATH-500GPQA DiamondLiveCodeBench v5
OpenR1-Distill-7B52.789.052.839.4
DeepSeek-R1-Distill-Qwen-7B51.393.552.437.4

All scores denote pass@1 accuracy and use sampling with temperature=0.6 and top_p=0.95. The DeepSeek-R1 tech report uses sampling with 4-64 responses per query to estimate pass@1, but does not specify the specific number of responses per benchmark. In the table above, we estimate pass@1 accuracy with the following number of responses per query:

BenchmarkNumber of responses per query
AIME 202464
MATH-5004
GPQA Diamond8
LiveCodeBench16

Note that for benchmarks like AIME 2024, it is important to sample many responses as there are only 30 problems and this introduces high variance across repeated runs. The choice of how many responses to sample per prompt likely explains the small differences between our evaluation results and those reported by DeepSeek. Check out the open-r1 repo for instructions on how to reproduce these results.

Training methodology

OpenR1-Distill-7B was trained using supervised fine-tuning (SFT) on the Mixture-of-Thoughts dataset, which contains 350k reasoning traces distilled from DeepSeek-R1. To optimise the data mixture, we followed the same methodology described in the Phi-4-reasoning tech report, namely that mixtures can be optimised independently per domain, and then combined into a single dataset. The figure below shows the evolution of our experiments on the math and code domains:

The individual experiments correspond to the following:

  • exp1 - exp3: extending the model's base RoPE frequency from 10k to 100k, 300k, and 500k respectively. We find there is no significant difference between the scaling factors, and used 300k in all subsequent experiments.
  • exp4 - exp6: independently scaling the learning rate on the math and code mixtures from 1e-5 to 2e-5, and 4e-5 respectively.
  • exp7 - exp8: measuring the impact of sequence packing (exp7) versus no packing (exp8) on the math mixture.
  • exp9 - exp10: measuring the impact of training on all three mixtures (math, code, and science) versus training on math and code only.

[!NOTE] We use LiveCodeBench v4 to accelerate evaluation during our ablations as it contains around half the problems of v5, yet is still representative of the full benchmark.

Training hyperparameters

The following hyperparameters were used during training:

  • num_epochs: 5.0
  • learning_rate: 4.0e-05
  • num_devices: 8
  • train_batch_size: 2
  • gradient_accumulation_steps: 8
  • total_train_batch_size: 2 * 8 * 8 = 128
  • seed: 42
  • distributed_type: DeepSpeed ZeRO-3
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: cosine_with_min_lr with min_lr_rate=0.1
  • lr_scheduler_warmup_ratio: 0.03
  • max_grad_norm: 0.2

Training results

During training, we monitor progress on AIME 2024, GPQA Diamond, and LiveCodeBench v4 every epoch. The following plot shows the training results:

Framework versions

  • Platform: Linux-5.15.0-1049-aws-x86_64-with-glibc2.31
  • Python version: 3.11.11
  • TRL version: 0.18.0.dev0
  • PyTorch version: 2.6.0
  • Transformers version: 4.52.0.dev0
  • Accelerate version: 1.4.0
  • Datasets version: 3.5.1
  • HF Hub version: 0.30.2
  • bitsandbytes version: 0.45.5
  • DeepSpeed version: 0.16.8
  • Liger-Kernel version: 0.5.9
  • OpenAI version: 1.76.2
  • vLLM version: 0.8.4

Citation

If you find this model is useful in your own work, please consider citing it as follows:

@misc{openr1,
    title = {Open R1: A fully open reproduction of DeepSeek-R1},
    url = {https://github.com/huggingface/open-r1},
    author = {Hugging Face},
    month = {January},
    year = {2025}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей