/ Модель

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

Контекст
32 768 токенов
Параметры
1,7 млрд
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-1.7B-Base
Библиотека
transformers
Опубликована
29 окт 2026

Qwen3-1.7B-Base-SFT-OnPolicy-BF16Delta

Генерация текстаТекст → текст3 профессии
76скачиваний за 30 дней1лайквеса обновлены1 ноя 2026

Описание модели

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

Промежуточные BF16-чекпойнты Qwen3-1.7B, дообученные на собственных правильных ответах для изучения динамики обучения решению математических задач.

Это исследовательский набор промежуточных контрольных точек дообучения Qwen3-1.7B-Base, подготовленный Xudong Zhu. Модель с плотной архитектурой Qwen3 и 1,7 млрд параметров обучалась методом on-policy SFT на математических задачах: на каждом шаге она генерировала собственные ответы, а для обучения отбирался один правильный ответ. Репозиторий содержит контрольную точку шага 300 и цепочку BF16-дельт для восстановления других шагов; контекст базовой модели — 32 768 токенов.

Материалы предназначены для исследований динамики обучения и сравнения поведения и весов модели на разных этапах, в том числе с парным off-policy экспериментом. Обучение проведено в один проход на 38 400 задачах из OpenR1-Math-220k; оценка включает математические наборы OpenR1-Math и MATH-500, а также MMLU-Pro. Модель рассчитана на английские математические задачи и генерирует текстовые решения с длинными рассуждениями.

Это промежуточные исследовательские чекпойнты, а не готовый чат-ассистент. Модель не проходила инструкционное и дополнительное безопасностное дообучение; небольшие различия точности между шагами могут быть ненадёжны, поскольку каждая задача оценивалась по одному сэмплу. Лицензия — Apache-2.0.

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

  • сравнение математических ответов модели на разных шагах обучения
  • исследование влияния on-policy SFT на веса языковой модели
  • сопоставление on-policy и off-policy дообучения на математических задачах
  • восстановление и анализ промежуточных BF16-чекпойнтов

Ограничения

Это исследовательские промежуточные чекпойнты, не предназначенные для обычного общения; модель обучалась на английских математических задачах без дополнительного инструкционного и безопасностного обучения. Небольшие изменения точности между шагами могут быть статистически ненадёжны, поскольку оценивался один ответ на задачу.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

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

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Qwen3-1.7B-Base-SFT-OnPolicy-BF16Delta

Intermediate checkpoints of on-policy SFT of Qwen3-1.7B-Base on math problems: at each step, the model learns from its own correct answers. Its twin, Qwen3-1.7B-Base-SFT-OffPolicy-BF16Delta, trains on the same problems in the same order, but on DeepSeek-R1's answers. Both runs are part of a study of how post-training changes a model's weights (code). These are checkpoints for research, not a model to chat with.

This repository stores the same run as Qwen3-1.7B-Base-SFT-OnPolicy in BF16, as a delta chain of 7.2 GB.

Base modelQwen/Qwen3-1.7B-Base
MethodOn-policy SFT: sample 8 answers per problem, keep one correct, train on it with the SFT loss
Data38,400 problems from OpenR1-Math-220k (default split), one pass
Steps300 steps of 128 problems
CheckpointsStep 300 at the root, plus BF16 deltas to rebuild the other 74 saved steps (every step to 50, then every 10 steps to 300)
CodexzAscC/PostDyn, train/sft/
CollectionPostDyn: checkpoints of intermediate training steps

Evaluation

Each checkpoint answers each question once (temperature 0.6, top-p 0.95, up to 15,360 tokens, seed 0; vLLM in BF16), with the prompt format below:

  • ID: the 500 held-out OpenR1-Math problems, scored like training (math-verify).
  • MATH-500: the 500 problems of MATH-500, scored the same way.
  • MMLU-Pro: 1,000 questions drawn with seed 0 from the test split of MMLU-Pro. The prompt asks for the letter of the answer within \boxed{}, and the answer counts as right when that letter is right.

Accuracy:

StepIDMATH-500MMLU-Pro
0 (base)0.2200.5620.218
100.2480.5900.240
250.2400.6140.241
500.2460.6200.257
1000.2660.6400.292
1500.3020.6320.304
2000.2880.6640.318
2500.2900.6380.316
3000.3120.6520.344

Checkpoints

This repository does not hold a full copy of each checkpoint. It holds step 300 as a normal checkpoint at the root, and deltas that let you rebuild the other 74 saved steps yourself. Each file in deltas/ is the XOR of a step's raw BF16 bits with those of the step before, compressed with zstd. The chain starts from the base model at revision ea980cb, which is not stored here, and manifest.json holds the SHA-256 of every delta and every step. A rebuilt step is bit-identical to the FP32 checkpoint of Qwen3-1.7B-Base-SFT-OnPolicy rounded to BF16. The low FP32 bits are not kept: for those, use that repository. Step 0 is the base model itself.

Step 300 loads directly:

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "XudongZhu/Qwen3-1.7B-Base-SFT-OnPolicy-BF16Delta"
model = AutoModelForCausalLM.from_pretrained(repo)
tokenizer = AutoTokenizer.from_pretrained(repo)

For another step, rebuild it with restore.py, which needs numpy, torch, safetensors, huggingface_hub and the zstd command. It downloads the base model and walks the chain from step 1, about 6 seconds per step on a CPU:

hf download XudongZhu/Qwen3-1.7B-Base-SFT-OnPolicy-BF16Delta --local-dir chain
python chain/restore.py chain --step 100 --out step100

step100 is then a normal checkpoint folder for from_pretrained. The steps are 1 to 50, then 60, 70, …, 300. --verify rebuilds every step and checks its SHA-256.

Prompt format

The user turn is the problem, a blank line, and Please reason step by step, and put your final answer within \boxed{}. There is no system prompt; tokenizer.apply_chat_template builds this:

<|im_start|>user
{problem}

Please reason step by step, and put your final answer within \boxed{}.<|im_end|>
<|im_start|>assistant

Training

Data. From the default split of OpenR1-Math-220k (93,733 problems):

  1. Keep the math word problems that have a DeepSeek-R1 answer which math-verify marks correct and which is complete: 59,188 problems. (16,115 are not word problems, and 18,430 have no such answer; none is also in MATH-500.)
  2. Shuffle them with seed 0 and hold out the first 500 for evaluation.
  3. In this order, skip the problems whose prompt is longer than 1,024 tokens (29) or whose prompt and R1 answer together are longer than 16,384 tokens (684), and take the first 38,400.

The run trains on these 38,400 problems in this order, once. The length limit counts the R1 answer even in this run, so that both runs see the same problems.

One step. For each of 128 problems, the current model samples 8 answers (temperature 1.0, top-p 1.0, up to 15,360 tokens). math-verify compares the last 2,000 characters of each answer with the reference answer. For each problem, one correct answer is kept at random; a problem with no correct answer is skipped in this step. One optimizer step then minimizes the SFT loss on the kept answers: the mean of −log p over their tokens, without the prompt.

HyperparameterValue
OptimizerAdamW (β = 0.9, 0.999), weight decay 0, gradient clipping 1.0
Learning rate1e-6, constant, no warmup
Batch128 problems per step, one optimizer step
Sampling8 answers per problem, temperature 1.0, top-p 1.0
Lengthprompt ≤ 1,024 tokens, answer ≤ 15,360 tokens
Steps300, one pass over the data
PrecisionFP32 weights; BF16 compute and FP32 gradient reduction (FSDP mixed precision); BF16 sampling
Seedssampling 42; picking the kept answer 0

Uses and limitations

For research on training dynamics: compare weights or behavior across checkpoints, and against the off-policy twin. The run trains only on English math problems, with no instruction tuning or safety training beyond the base model; its answers are long chains of reasoning. Each accuracy above comes from one sample per question, so small differences between steps are not reliable.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей