Qwen3-4B, gpnp thought generator, RL step 960
This is stock Qwen3-4B after prestar RL as a note ("thought") generator. It has had 960 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.40M.statML-arxiv.
- This is Qwen3-4B-Base CPT'd on statML-arxiv iid
train[:9472], 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[9472:9728]), using every stride-1 thoughtful chunk. - Validation: the full iid 20M test stride-32 grid, 1 sample per prompt. The metric is the mean per-token suffix log-probability before the length penalty.
- Stock Qwen3-4B (step 0): −1.222111.
- This checkpoint (step 960): −1.221127.
- 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 7e-7, no KL.
- Lineage:
- Steps 0–896 come from the
lr=7e-07-kl=0.0-lenpen2048-2560-0.1run. - Steps 897–960 come from a full-state restart of its step-896 checkpoint with vLLM seed 1 (
...-from896-seed1). So the restart sampled different rollouts.
- Steps 0–896 come from the
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.
Resuming training
verl_checkpoint/ is a verl trainer.default_local_dir.
Contents of global_step_960/:
- 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. Its local paths refer to the original cluster.
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.