/ Модель

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

Контекст
4 096 токенов
Параметры
7,1 млрд
Размер весов
30,5 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-Math-7B
Библиотека
transformers
Опубликована
16 сен 2026

Qwen2.5-Math-7B-GRPO-Staleness-2

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

Дообученная методом GRPO модель Qwen2.5-Math-7B для генерации решений математических задач на английском и китайском языках.

590скачиваний за 30 дней0лайковвеса обновлены17 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Qwen2.5-Math-7B-GRPO-Staleness-2 — полноразмерный чекпойнт модели Qwen2.5-Math-7B, дообученный автором zbeeb методом GRPO на наборе из 17 005 математических задач. Модель построена на плотной архитектуре Qwen2 и содержит 7,1 млрд параметров; она предназначена для генерации решений и ответов на математические задачи в диалоговом формате.

Обучение завершено на шаге 1000 с ограничением возраста политик для роллаутов в два шага. Контекст составляет 4096 токенов, а предел генерации при обучении — 3072 токена. Оценивание вознаграждало математическую эквивалентность итогового ответа. Модель поддерживает английский и китайский языки; веса доступны в Safetensors, лицензия — Apache-2.0.

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

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

Ограничения

Контекст ограничен 4096 токенами. В README приведены результаты оценки конкретного обучающего запуска, но они не гарантируют точность на других задачах.

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

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

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

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

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

Открыть на Hugging Face

Qwen2.5-Math-7B-GRPO-Staleness-2

Final step-1000 full-parameter GRPO checkpoint of Qwen/Qwen2.5-Math-7B, trained on the shared 17,005-row Staleness GRPO DAPO Math dataset. Part of the Staleness collection by zbeeb.

Training

The configured staleness cap was 2 (max_off_policy_steps = 2), the maximum permitted policy age for training rollouts.

The run used Prime RL v0.9.0, GRPO with group size 8 and batch size 64, PPO clipping at 0.2, AdamW at learning rate 1e-6, 30 warmup steps, and seed 42. Training used a 4,096-token total context and a maximum of 3,072 completion tokens. The reward checks mathematical equivalence of the terminal answer; it uses no LLM judge or separate format reward. See training-config.json for settings and pinned provenance.

The 1.5B and 7B models start from Qwen2.5-Math; the 3B model starts from Qwen2.5. Differences across these models cannot be attributed to parameter count alone.

Checkpoint format

This repository contains lossless model weights in their saved floating-point dtype exported from the final distributed training checkpoint as sharded Safetensors, plus the tokenizer used during training. Optimizer and scheduler state remain in the original training checkpoint. The model can be loaded in BF16 for inference, as it was during training evaluation.

The training tokenizer uses <|im_end|> (151645) as EOS. The exported model and generation configurations use the same EOS so generation stops at the end of the assistant turn. The model architecture and original context configuration are preserved; the training and reported evaluations used a total context of 4,096 tokens.

Export validation checks the saved training step, finite tensors, tensor keys and shapes, strict Transformers reload, tokenizer round-trip, tied embeddings where applicable, and identical CPU probe logits before and after serialization. File hashes are recorded in export-manifest.json.

Usage

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "zbeeb/Qwen2.5-Math-7B-GRPO-Staleness-2"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")
messages = [{'role': 'user', 'content': 'Solve the following math problem. Explain your reasoning. End with either \\boxed{...} or a final line `Final answer: ...`.\n\nCompute 2 + 2.'}]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt", return_dict=True).to(model.device)
assert inputs["input_ids"].shape[-1] <= 1024
output = model.generate(**inputs, max_new_tokens=3072, do_sample=False, eos_token_id=tokenizer.eos_token_id, pad_token_id=tokenizer.pad_token_id)
print(tokenizer.decode(output[0, inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

Final training-run evaluation

Self-reported results for policy step 1000 with the run's deterministic final-answer grader. Greedy rows use one completion per problem. The sampled rows use eight completions per problem at temperature 0.6 and report mean answer accuracy, not pass@8. MATH-500, AMC and AIME use a 3,072-token completion limit; Minerva and OlympiadBench use 2,048.

BenchmarkCompletionsAccuracyTruncated
MATH-50050074.60%2.0%
AMC234055.00%7.5%
AIME243026.67%10.0%
AIME253010.00%10.0%
Minerva Math27226.10%0.7%
OlympiadBench67540.15%6.2%
AIME24 sampled mean24021.25%14.2%
AIME25 sampled mean24011.67%12.1%
AIME26 sampled mean24010.42%13.3%

Exact source revisions and machine-readable results are included in evaluation-results.json and the dataset provenance. The broader post-training benchmark sweep has not yet run. These are final-answer scores and do not establish proof quality. Training data was filtered against the retained evaluations, but this does not establish absence of pretraining contamination or prove that every near-duplicate was removed. Long completions can be truncated.

Data and license

Training data: zbeeb/Staleness-GRPO-DAPO-Math-17k. Base-model revision: b101308fe89651ea5ce025f25317fea6fc07e96e. This checkpoint modifies the base model through 1,000 GRPO training updates. The upstream license is included unchanged in LICENSE.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей