Phase 4 · Reinforcement learning

Rewarding answers a program can check

500 GRPO steps in 1 hour 40 minutes. Tool calling, instruction following and maths improved, harmless prompts stopped being refused, and English held steady. Then the H100 hung overnight.

SFT run 02b compared with RL v1 step 500
BFCL parallel calls
24 to 40
IFEval prompt-level
23.1 to 29.6
GSM8K
9.6% to 12.4%
English average
47.91 to 48.00

500 GRPO steps, 1 hour 40 minutes on one H100.

Phase 4 ran a first round of reinforcement learning on top of SFT run 02b: 500 steps of GRPO with verifiable rewards, from 22:06 to 23:45 IST on November 27, 2026. That’s 1 hour 40 minutes on one H100, with generation running through our own vLLM plugin. The result is the model on Hugging Face main. RL plan · RL v1 on W&B

How it works

There are no human labels and no reward model. For each task the model writes 8 answers, and plain code checkers score every one. An answer’s advantage is its reward minus the group’s average, so training pushes toward the better answers in each group. Each step used 64 tasks, so 512 scored answers.

The checkers cover seven areas: maths and time problems with known answers, instruction constraints on questions with known answers, code run in a docker sandbox, tool calls (including parallel calls and cases where no tool fits), who-did-what binding, and refusal balance. The 6,684 training tasks were filtered to ones the model sometimes gets right, where there’s something to learn. How GRPO works here

Reading rollouts before the real run caught three reward bugs. Instruction tasks paid for the constraint alone (“w = 0 or 14” scored full marks for having no commas), no-tool tasks paid any answer, and only 62 code tasks survived the difficulty filter until we generated about 4,200 more.

What it changed

The reward rose from 0.41 to about 0.75, and answers got shorter, from about 145 tokens to 75–110. On 320 held-out tasks, the average score went from 0.463 to 0.759, with tool calls reaching 40 of 40. Those tasks are the same types as training, so they overstate the real gain; the benchmarks below weren’t trained on.

All five models were run the same way: vLLM backend, greedy decoding, on the A10.

Model Harmless refused Harmful refused Live data honest HumanEval MBPP GSM8K IFEval prompt / instr. BFCL simple BFCL multiple BFCL parallel BFCL no tool
SFT run 01 9/45 8/8 6/8 15.2 22.6 10.0 26.1 / 38.1 57.0 40.0 31.0 75.4
SFT run 02b (RL start) 1/45 8/8 7/8 15.2 21.8 9.6 23.1 / 36.0 63.0 36.0 24.0 56.2
RL v1 step 100 1/45 7/8 8/8 15.9 22.4 10.5 28.1 / 40.3 68.0 42.0 37.0 71.7
RL v1 step 300 0/45 7/8 8/8 15.9 22.8 12.3 27.9 / 41.8 70.0 37.0 34.0 75.4
RL v1 step 500 0/45 7/8 8/8 16.5 22.2 12.4 29.6 / 43.5 71.0 43.0 40.0 69.6

The English benchmark average held: 47.91 for SFT run 02b, 48.00 after RL.

The over-refusal is fixed: harmless prompts refused went from 9 of 45 after the first fine-tuning run to 1, then 0 after RL. Tool calling went past both fine-tuning runs. Instruction following is the best of any of our models, and English didn’t drop. In the chat test, the model got a passive sentence right for the first time (“The letter was written by Maya… who wrote it?” → Maya) and made two calls for “weather in Tokyo and London”. One small regression: “capital of India” now gets “Delhi” instead of “New Delhi”. The one harmful request it didn’t refuse, it discouraged without a refusal phrase. BFCL has 100 questions per category, so ±5 points is noise. Raw results

What RL can’t do

Maths barely moved. Before RL, the model never solved 81% of the maths tasks in 8 tries. A reward of zero says “wrong”, not what’s right, so RL can sharpen what a model already knows but can’t add knowledge it never saw.

The night the H100 stopped

An overnight extension of RL never trained. Its first step refreshed the difficulty filter and forked about 30 sandbox processes from a process already running vLLM and CUDA. They deadlocked, held 49 GB of GPU memory, and the training filesystem stopped responding. Nothing trained for about 8 hours, because the watchers only looked for “done” or “abort” lines, which a hang never writes. The H100 was retired the next day. The checkpoints and every rollout were already on Hugging Face. Before the next run: a no-progress alarm, a sandbox pool started before vLLM loads, and filter refreshes that reuse the trainer’s engine.

What’s next

The greedy benchmarks are done. Still to run on the RL model: 8 samples per question, the long-context tests, and the hand tests against OLMo-2 1B. Then the benchmarks decide. If the model can do a task but doesn’t pick it reliably, a bigger RL round helps. If it almost never gets a task right, even in 8 tries, it needs knowledge: a new pretraining round from the base model, then fine-tuning again. RL v1 weights