/ Модель

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

Контекст
40 960 токенов
Параметры
3,7 млрд
Размер весов
17,6 ГБ
Архитектура
qwen3 · dense
Библиотека
transformers
Опубликована
11 ноя 2026

TRIP.round-2.thinker.Qwen3-4B.40M.statML-arxiv

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

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

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

Дообученная методом RL модель Qwen3-4B генерирует заметки о вероятном продолжении текстового документа по его префиксу.

JackHsieh разработал этот чекпойнт Qwen3-4B — генератор заметок о вероятном продолжении документа. Модель дообучена методом RL во втором раунде эксперимента: на вход подаётся префикс документа, а модель продолжает его общим абзацем-заметкой, которая описывает вероятное дальнейшее содержание. Для генерации автор использовал шаблон, отключающий режим размышлений и задающий начало ответа «The text».

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

  • генерация заметки о продолжении документа по его началу
  • предсказание тематики следующего фрагмента научной статьи
  • создание текстового продолжения для корпуса статей по машинному обучению

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3-4B, gpnp thought generator, re-RL best val (step 1376)

This is the second round of prestar RL ("re-RL") for the Qwen3-4B note ("thought") generator. It is the best validation step of the run.

The first round produced the step-960 generator. A new rewarder was then continued-pretrained on notes written by that generator. This model is the step-960 generator trained further with RL against the new rewarder.

The task is the same as in round one. Each RL prompt is a document prefix. The model writes a general-paragraph note about what comes next, with thinking off. The note is scored by a frozen suffix conditional: the per-token log-probability of the true continuation (the next 8-token chunk), given the note and the prefix.

Summary

  • Init: JackHsieh/TRIP.round-1.thinker.Qwen3-4B.40M.statML-arxiv (weights only; fresh optimizer).
  • Rewarder: JackHsieh/TRIP.round-1-non-terminal.predictor.Qwen3-4B-Base.40M.statML-arxiv.
    • This is Qwen3-4B-Base CPT'd on statML-arxiv iid train[:9472], with notes from the step-960 generator prepended (.kv-tags-thought).
    • The rewarder sees <|note|>\nKEY:{key}\nTHOUGHT:The text{completion}\n<|/note|> followed by the document prefix (prestar/kv-tags-thought.jinja).
  • RL data: the 256 documents the rewarder never trained on (JackHsieh/statML-arxiv-iid-160M-20M train[9472:9728]), using every stride-1 thoughtful chunk (k = 8).
  • Validation: the full iid 20M test stride-32 grid, 1 sample per prompt. The metric is the mean per-token suffix log-probability (val-core/statml-iid20M-test.stride32/reward/mean@1).
    • Step-960 init under this rewarder (step 0): −1.21983.
    • This checkpoint (step 1376): −1.21897. Before the length penalty it is −1.2189726 (val-aux/reward/reward-unpenalized-mean, in global_step_1376/best.json).
    • Validation noise: the same weights validated twice scored −1.21927 and −1.21940. Differences of about 1e-4 between checkpoints are therefore within noise.
  • Algorithm: the same recipe as round one.
    • Sampling: RLOO with 8 samples per prompt, 64 prompts per step, T = 1, top_p = 1, EOS stop, 2560-token cap.
    • Reward: the per-token reward minus a linear length penalty on the raw completion, from 0 at 2048 tokens to 0.1 at 2560.
    • Loss: CISPO (clip 0.2), 1 PPO epoch, mini-batch 64.
    • Optimizer: constant lr, no KL (no KL loss, no KL in the reward).
    • Hardware: FSDP on 8 GPUs.

Lineage

StepsW&B runWhatlr
0–1024ffumoeb3Re-RL arm A from the step-960 init; val every 64 steps7e-7
1024–1455bi4gbtquFull-state resume of ffumoeb3's step-1024 checkpoint (optimizer, scheduler and dataloader kept), with lr lowered; val every 32 steps. global_step_1376 comes from this run.3e-7

The resume ran until step 1455, when its compute project shut down. It had not degraded: the last vals were −1.21924 at step 1408 and −1.21918 at step 1440.

Related runs:

  • eybwj5ra: ffumoeb3's own continuation at lr 7e-7. It declined steadily after 1024, reaching −1.22000 at 1408 and −1.21993 at 1536.
  • 4h571my4: a sibling resume of bi4gbtqu's step-1056 checkpoint at lr 1.5e-7. Its best was −1.21904 at step 1344: JackHsieh/Qwen3-4B.gpnp-rl.re-rl.rerl-resume.ffu1056.lr1.5e-7.best-val.
  • Re-runs of the same arm-A recipe diverged early.
    • The same-seed relaunch (jclwxai8) and seed 1 (mrf1f7sv) drifted toward abstract, meta-summary notes by steps 64–192. The relaunch's notes also got shorter.
    • Neither rose above its step-0 val, whereas arm A's notes stayed concrete and got longer.
    • Their best-val checkpoints are in JackHsieh/Qwen3-4B.gpnp-rl.re-rl.init-step960.lr7e-7.{relaunch,seed1,seed2}.best-val. Seed 2 was not analyzed.

Validation trajectory (val-core, higher is better)

steplineagerunlr 7e-7 cont. (eybwj5ra)lr 1.5e-7 sibling (4h571my4)
0−1.21983ffumoeb3
64−1.21951ffumoeb3
128−1.21948ffumoeb3
192−1.21927ffumoeb3
256−1.21953ffumoeb3
320−1.21918ffumoeb3
384−1.21940ffumoeb3
448−1.21949ffumoeb3
512−1.21963ffumoeb3
576−1.21952ffumoeb3
640−1.21947ffumoeb3
704−1.21944ffumoeb3
768−1.21974ffumoeb3
832−1.21904ffumoeb3
896−1.21958ffumoeb3
960−1.21911ffumoeb3
1024−1.21932 / −1.21937ffumoeb3 / bi4gbtqu (re-val)−1.21937
1056−1.21927bi4gbtqu−1.21940 (re-val)
1088−1.21936bi4gbtqu−1.21939−1.21927
1120−1.21933bi4gbtqu−1.21920
1152−1.21944bi4gbtqu−1.21948−1.21924
1184−1.21935bi4gbtqu−1.21922
1216−1.21929bi4gbtqu−1.21977−1.21920
1248−1.21946bi4gbtqu−1.21916
1280−1.21914bi4gbtqu−1.21979−1.21909
1312−1.21928bi4gbtqu−1.21914
1344−1.21929bi4gbtqu−1.21966−1.21904
1376−1.21897bi4gbtqu−1.21924
1408−1.21924bi4gbtqu−1.22000
1440−1.21918bi4gbtqu

The full per-step W&B histories (training and val, every logged metric) for all of these runs are in val_history/, together with the upstream round-one RL runs. val_history/README.md describes them.

Pregenerating notes

The merged weights at the repo root load with AutoModelForCausalLM.from_pretrained("JackHsieh/TRIP.round-2.thinker.Qwen3-4B.40M.statML-arxiv"). They are fp32, exactly as trained. vLLM can serve them in bf16.

The repo-root chat_template.jinja is stock Qwen3. Generate with the template the model was trained on instead: prestar/general-paragraph-nothink-prefill.jinja (identical to the step-960 repo's).

  • It turns thinking off.
  • It prefills the answer with The text.
  • So a completion continues that prefix, and a stored note is "The text" + completion.

RL sampled at T = 1 and top_p = 1, with at most 2560 new tokens. prestar/kv-tags-thought.jinja is how the rewarder wraps a note.

Files

  • Repo root: the merged HF model. It is a lossless fp32 merge of global_step_1376/actor: the FSDP shards concatenated along dim 0.
    • Every tensor is bit-identical to the shards.
    • Cast to bf16, every tensor also equals the output of python -m verl.model_merger merge --backend fsdp, which always casts to bf16.
    • lm_head.weight is stored explicitly, but it is identical to model.embed_tokens.weight (tie_word_embeddings: true).
  • global_step_1376/actor/: the original verl FSDP1 actor model shards (world size 8, model_world_size_8_rank_{0..7}.pt) and the HF tokenizer and config.
  • global_step_1376/best.json: the step and metric.
  • val_history/: validation and training histories, described above.
  • prestar/: the generation and rewarder-wrapper templates.

Resuming training

This repo holds no optimizer, scheduler or dataloader state. The full resumable checkpoint existed only in cloud storage that is no longer available. To continue training from here, start a new run initialized from these weights, which resets the optimizer.

Use the prestar fork of verl (recipe jepo_frozen_rewarder) with the hyperparameters above. The lr was 3e-7 at this step.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей