Qwen3-4B, gpnp thought generator, RL step 1472 (80M rewarder, lr 3e-7)
This is stock Qwen3-4B after prestar RL as a note ("thought") generator. It has had 1,472 steps.
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 document continuation, given the note and the prefix.
The checkpoint here is the run's best validation step.
- Rewarder: JackHsieh/TRIP.warmstart.predictor.Qwen3-4B-Base.80M.statML-arxiv.
- This is Qwen3-4B-Base CPT'd on statML-arxiv iid
train[:19200](the 80M-token window minus its last 256 documents), with gpnp.kv-tags-thoughtnotes prepended. - The rewarder sees
<|note|>\nKEY:{key}\nTHOUGHT:The text{completion}\n<|/note|>followed by the document prefix.
- This is Qwen3-4B-Base CPT'd on statML-arxiv iid
- RL data: the 256 documents the rewarder never trained on (
train[19200:19456]), using every stride-1 thoughtful chunk. - Validation: the full iid 20M test stride-32 grid (72,960 prompts), 1 sample per prompt. The metric is the mean per-token suffix log-probability before the length penalty.
- Stock Qwen3-4B (step 0): −1.217108.
- This checkpoint (step 1472): −1.215421. With the length penalty (W&B
val-core/.../reward/mean@1): −1.215466.
- Algorithm:
- 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.
- Optimizer: lr 3e-7, no KL.
- Lineage:
- Steps 0–1024 come from W&B run
7e3q9ptd(.../train=iid80M-heldout256.19200-19456/lr=3e-07-kl=0.0-lenpen2048-2560-0.1). - Steps 1025–1536 come from a full-state resume of its step-1024 checkpoint (W&B run
z4ce35hu, same seed). The best validation came at step 1472. - Trained on a GCP 8 × H100 80 GB VM.
- Steps 0–1024 come from W&B run
Pregenerating notes
The weights at the repo root 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.
- 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.
Completion lengths on the step-1472 validation grid (T = 1, top_p = 1; tokens include the closing <|im_end|>): mean 452, median 438, p99 773.
Share of completions longer than a cap: 1,022 tokens 0.148%, 1,278 tokens 0.066%, 1,534 tokens 0.055%, 2,046 tokens 0.045%; 0.044% ran to the 2,560 cap, mostly in repetition loops.
Resuming training
verl_checkpoint/ is a verl trainer.default_local_dir.
Contents of global_step_1472/:
- the FSDP1 actor model and optimizer shards;
- the LR scheduler;
- the dataloader position (
data.pt); - the rewarder-recipe state.
To resume:
- Download
verl_checkpoint/. - Point
trainer.default_local_dirat it withtrainer.resume_mode=auto. - Use the prestar fork of verl (recipe
jepo_frozen_rewarder). - Use 8 FSDP ranks: the shards are world size 8.
prestar/prestar_rl_config.resolved.yaml is the run's resolved config (the step-1025–1536 segment). Its local paths refer to the GCP VM.
Note: generation randomness is not checkpointed. Resuming with the same actor_rollout_ref.rollout.seed replays the same rollouts. Pass a different seed to get different ones; this needs the prestar verl fork's seeded FSDPVLLMShardingManager.