/ Модель

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

Контекст
131 072 токена
Параметры
32 млрд
Размер весов
65,5 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
OREAL-32B-SFT
Библиотека
transformers
Опубликована
10 фев 2025

OREAL-32B

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

OREAL-32B — дообученная с подкреплением 32-миллиардная языковая модель для решения математических задач с пошаговыми рассуждениями.

198скачиваний за 30 дней24лайкавеса обновлены24 фев 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

OREAL-32B — модель для математических рассуждений, разработанная командой InternLM. Она создана на базе OREAL-32B-SFT методом обучения с подкреплением по итоговому вознаграждению и предназначена для решения математических задач с пошаговым выводом. В README сообщается результат 95,0 pass@1 на MATH-500.

Модель имеет плотную архитектуру Qwen2ForCausalLM с 32 млрд параметров, принимает текст и генерирует текст. Метаданные указывают контекстное окно 131 072 токена, поддержку диалогового режима и интерфейса вызова инструментов. В README описано использование шаблона чата с пользовательским вопросом и генерацией ответа.

Модель распространяется в формате Safetensors по лицензии Apache-2.0. Результаты на бенчмарках не гарантируют точность на любых математических задачах; модель может ошибаться в вычислениях и рассуждениях.

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

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

Ограничения

Результаты на MATH-500 и других бенчмарках не гарантируют точность на произвольных задачах; модель может допускать ошибки в вычислениях и рассуждениях.

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

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

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

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

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

Открыть на Hugging Face

OREAL-32B

Links

Introduction

We introduce OREAL-7B and OREAL-32B, a mathematical reasoning model series trained using Outcome REwArd-based reinforcement Learning, a novel RL framework designed for tasks where only binary outcome rewards are available.

With OREAL, a 7B model achieves 94.0 pass@1 accuracy on MATH-500, matching the performance of previous 32B models. OREAL-32B further surpasses previous distillation-trained 32B models, reaching 95.0 pass@1 accuracy on MATH-500.

main_fig

Our method leverages best-of-N (BoN) sampling for behavior cloning and reshapes negative sample rewards to ensure gradient consistency. Also, to address the challenge of sparse rewards in long chain-of-thought reasoning, we incorporate an on-policy token-level reward model that identifies key tokens in reasoning trajectories for importance sampling. For more details, please refer to our paper.

Evaluation Results

ModelMATH-500AIME2024AIME2025-ILiveMathOlympiad
API Models
GPT-4o-112072.816.713.344.833.7
Claude-3.5-Sonnet-102278.313.33.346.735.4
OpenAI-o1-preview85.544.640.071.043.6
OpenAI-o1-mini90.056.646.774.446.3
7B Models
Qwen2.5-Instrust-7B76.613.30.037.029.1
Qwen2.5-Math-Instrust-7B81.820.013.344.131.1
rStar-Math-7B78.4*26.7*--47.1*
Qwen2.5-7B-SimpleRL82.4*26.7*--37.6*
Eurus-2-7B-PRIME79.2*26.7*--42.1*
DeepSeek-R1-Distill-Qwen-7B92.8*55.5*40.065.664.1
OREAL-7B91.033.333.362.659.9
OREAL-DSR1-Distill-Qwen-7B94.050.040.065.666.1
32B Models
Qwen2.5-Instrust-32B80.620.013.350.840.4
QwQ-32B-Preview90.650.040.072.758.5
DeepSeek-R1-Distill-Qwen-32B94.3*72.6*46.767.771.2
OREAL-32B95.060.046.774.872.4

Note: Overall evaluation results for OREAL and each baseline. OREAL-DSR1-Distill-Qwen-7B denotes the DeepSeek-R1-Distill-Qwen-7B trained by OREAL. AIME2025-I, LiveMath, and Olympiad represent AIME 2025 Part1, LiveMathBench, and OlympiadBench, respectively. For models at the parameter scale of 7B and 32B, we use Bold and Italics to represent the best and second best performance, respectively. For part of the baseline, we directly use the results from their report, marked with *. We use LMDeploy to inference and use OpenCompass to evaluate the performance of the models.

Model Collection

We release not only the RL models, but also the SFT models for the OREAL series. We hope this can help the community and benefit the research of Math Reasoning RL.

ModelLink
RL Models
OREAL-7BHugging Face
OREAL-DSR1-Distill-Qwen-7BHugging Face
OREAL-32BHugging Face
SFT Models
OREAL-7B-SFTHugging Face
OREAL-32B-SFTHugging Face

We also release the prompts utilzed in our RL training phase.

DatasetLink
RL PromptsHugging Face

Usage

OREAL-7B and OREAL-32B use a system prompt to guide the model to reason during training and testing time. The system prompt is as follows:

system_prompt = "You are an expert mathematician with extensive experience in mathematical competitions. You approach problems through systematic thinking and rigorous reasoning. When solving problems, follow these thought processes:\n\n## Deep Understanding\nTake time to fully comprehend the problem before attempting a solution. Consider:\n- What is the real question being asked?\n- What are the given conditions and what do they tell us?\n- Are there any special restrictions or assumptions?\n- Which information is crucial and which is supplementary?\n\n## Multi-angle Analysis\nBefore solving, conduct thorough analysis:\n- What mathematical concepts and properties are involved?\n- Can you recall similar classic problems or solution methods?\n- Would diagrams or tables help visualize the problem?\n- Are there special cases that need separate consideration?\n\n## Systematic Thinking\nPlan your solution path:\n- Propose multiple possible approaches\n- Analyze the feasibility and merits of each method\n- Choose the most appropriate method and explain why\n- Break complex problems into smaller, manageable steps\n\n## Rigorous Proof\nDuring the solution process:\n- Provide solid justification for each step\n- Include detailed proofs for key conclusions\n- Pay attention to logical connections\n- Be vigilant about potential oversights\n\n## Repeated Verification\nAfter completing your solution:\n- Verify your results satisfy all conditions\n- Check for overlooked special cases\n- Consider if the solution can be optimized or simplified\n- Review your reasoning process\n\nRemember:\n1. Take time to think thoroughly rather than rushing to an answer\n2. Rigorously prove each key conclusion\n3. Keep an open mind and try different approaches\n4. Summarize valuable problem-solving methods\n5. Maintain healthy skepticism and verify multiple times\n\nYour response should reflect deep mathematical understanding and precise logical thinking, making your solution path and reasoning clear to others.\n\nWhen you're ready, present your complete solution with:\n- Clear problem understanding\n- Detailed solution process\n- Key insights\n- Thorough verification\n\nFocus on clear, logical progression of ideas and thorough explanation of your mathematical reasoning. Provide answers in the same language as the user asking the question, repeat the final answer using a '\\boxed{}' without any units, you have [[8192]] tokens to complete the answer."

For OREAL-DSR1-Distill-Qwen-7B, we use the default chat template of its original model.

The chat template for these models are already set in the tokenizer_config.json file. Use the tokenizer.apply_chat_template() function to apply the chat template.

question = [{'role': 'user', 'content': 'What is the sum of the first 100 natural numbers?'}]
tokenizer.apply_chat_template(question, add_generation_prompt=True)

Citation

If you find this work useful in your research, please consider citing:

@article{lyu2025exploring,
  title={Exploring the Limit of Outcome Reward for Learning Mathematical Reasoning},
  author={Lyu, Chengqi and Gao, Songyang and Gu, Yuzhe and Zhang, Wenwei and Gao, Jianfei and Liu, Kuikun and Wang, Ziyi and Li, Shuaibin and Zhao, Qian and Huang, Haian and others},
  journal={arXiv preprint arXiv:2502.06781},
  year={2025}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей