Qwen3-4B-Base-Think-DPPO-BinaryTV-delta0.2-LR1e-6-fp32-540steps
RL fine-tune of Qwen/Qwen3-4B-Base with thinking enabled, trained with DPPO (binary TV, δ = 0.2) on DAPO-Math-17k using verl.
| Hyperparameter | Value |
|---|---|
| Algorithm | DPPO with a binary total-variation trust region (dppo_binary_tv) |
| TV threshold δ | 0.2 in both directions: a token is masked out when its directional TV against the rollout policy exceeds 0.2 |
| Importance ratio | against the rollout policy's probabilities, capped at 5 and detached |
| Advantage | GRPO group baseline, not divided by the group std |
| Loss aggregation | seq-mean-token-sum |
| Learning rate | 1e-6, constant, no warmup |
| Weight decay / grad clip | 0.1 / 1.0 |
| KL penalty / entropy bonus | 0 / 0 |
| Batch | 128 prompts × 8 rollouts at temperature 1.0; mini-batch 32; 1 update epoch |
| Max prompt / response | 2,048 / 8,192 tokens |
| Training | 540 steps = 4 epochs over DAPO-Math-17k (135 steps per epoch), seed 42 |
| Reward | Math-Verify answer correctness (1 / 0) |
| Precision | fp32 master weights and optimizer states (FSDP), bf16 rollout (vLLM) |
AIME 2024 (30 problems, Avg@16, temperature 0.7, top-p 0.95): best 27.92% at step 380, final 24.79% at step 540.
Weights are bf16 safetensors merged from the fp32 FSDP checkpoints of each step.
main holds the final step (540). Every saved step is a branch named step-<N>: 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 135, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290, 300, 310, 320, 330, 340, 350, 360, 370, 380, 390, 400, 410, 420, 430, 440, 450, 460, 470, 480, 490, 500, 510, 520, 530, 540.
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("L1nkee/Qwen3-4B-Base-Think-DPPO-BinaryTV-delta0.2-LR1e-6-fp32-540steps", revision="step-10")