/ Модель

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

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

Qwen3-1.7B-Base-SFT-OffPolicy-BF16Delta

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

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

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

Промежуточные BF16-чекпойнты Qwen3-1.7B-Base после off-policy SFT на математических ответах DeepSeek-R1 для исследования динамики обучения.

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

Чекпойнты предназначены для исследования динамики обучения: сравнения весов и поведения между шагами и с парным on-policy запуском. Данные включают 38 400 англоязычных математических задач, каждая использована один раз. Модель не проходила инструкционную и дополнительную safety-настройку, поэтому не позиционируется автором как чат-модель общего назначения. Лицензия — Apache 2.0.

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

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

Ограничения

Обучение проводилось только на англоязычных математических задачах; модель не проходила инструкционную и дополнительную safety-настройку. Для восстановления большинства шагов нужны базовая модель и зависимости для обработки цепочки дельт.

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

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

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

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

Источники: 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-OffPolicy-BF16Delta

Intermediate checkpoints of off-policy SFT of Qwen3-1.7B-Base on math problems: at each step, the model learns from DeepSeek-R1's answers. Its twin, Qwen3-1.7B-Base-SFT-OnPolicy-BF16Delta, trains on the same problems in the same order, but on its own correct 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-OffPolicy in BF16, as a delta chain of 10.5 GB.

Base modelQwen/Qwen3-1.7B-Base
MethodOff-policy SFT: train on DeepSeek-R1's answers 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

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-OffPolicy 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-OffPolicy-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-OffPolicy-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, each with its R1 answer from step 1 (one picked at random, with seed 0, when there are several).

One step. One optimizer step on the R1 answers of 128 problems, with the SFT loss: the mean of −log p over the answer 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 with their R1 answers per step, one optimizer step
Lengthprompt and answer ≤ 16,384 tokens
Steps300, one pass over the data
PrecisionFP32 weights; BF16 compute and FP32 gradient reduction (FSDP mixed precision)
Seeds0 (the R1 answer picked per problem)

Uses and limitations

For research on training dynamics: compare weights or behavior across checkpoints, and against the on-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.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей