Qwen3-4B, gpnph thought generator (peS2o-humanities), RL step 1856
This is stock Qwen3-4B after prestar RL as a note ("thought") generator for peS2o-humanities papers. It has had 1856 steps.
Each RL prompt is a document prefix. The model writes a general-paragraph note about the next 8 tokens, 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/4B-base.4B-gpnph-kvtt.peS2o-humanities-iid-40M-sans-256.stride-1.suffix-conditional.
- This is Qwen3-4B-Base CPT'd on peS2o-humanities iid
train[:9472], with gpnph.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 peS2o-humanities iid
- RL data: the 256 documents the rewarder never trained on (
train[9472:9728]), using every stride-1 thoughtful chunk. That is 130,816 prompts, or 2,044 steps per epoch. - Validation: the full peS2o-humanities 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): −2.370253.
- This checkpoint (step 1856): −2.369495.
- Re-validating the same step-1024 weights gave −2.369763 and −2.369898, so differences below about 0.0002 are within val noise.
- 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: constant lr 3e-7, no KL.
- Lineage:
- Steps 0–1024 come from the
lr=3e-07-kl=0.0-lenpen2048-2560-0.1run, which had a 1024-step budget. - Steps 1025–1856 come from a full-state resume of its step-1024 checkpoint, extended to the end of epoch 1 (step 2044). Seeds were unchanged, at verl's defaults: vLLM seed 0, data shuffle seed 1.
- The best validation of the whole run was at step 1856. The run ended at step 2044 with −2.369847.
- Steps 0–1024 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-humanities.jinja (gpnph).
- 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. - gpnph differs from gpnp only in the last user line ("That is where the cut falls. … Do not write more than 2 paragraphs.").
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_1856/:
- 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 resolved config of the leg that produced this step, which ran to step 2044. 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.