Training setup
- LoRA rank 16, alpha 32, no dropout, on q/k/v/o and gate/up/down projections.
- GRPO: advantage = reward - group mean (no std normalisation), no KL penalty. Prompt-level loss aggregation: each
prompt's tokens are averaged within its group, then prompts are averaged, so short IF answers are not outweighed by
long math/code answers.
- Learning rate 1e-5 (constant), 16 prompts x 8 samples per step, temperature 1.0, up to 16,384 completion tokens.
- Thinking off (
enable_thinking=False in the chat template), for both training and evaluation.
- Framework: prime-rl.
- Rewards: IFEval-style verifiers (instruction following); math-verify (math); stdin/stdout tests (code); an LLM
equivalence judge (knowledge, long context).
Results
Held-out (200 prompts per set, 4 samples each, temperature 1.0, thinking off; mean reward):
Table with columns: Step, Dolci IF held-out, UltraData held-out| Step | Dolci IF held-out | UltraData held-out |
|---|
| 0 (base model) | 0.430 | 0.470 |
| 100 | 0.465 | 0.498 |
| 200 (this checkpoint) | 0.538 | 0.480 |
IFEval (Google, 541 prompts x 4 samples, thinking off):
Table with columns: Prompt strict, Prompt loose, Instruction strict, Instruction loose | Prompt strict | Prompt loose | Instruction strict | Instruction loose |
|---|
| Base | 0.820 | 0.863 | 0.874 | 0.906 |
| This checkpoint | 0.853 (+0.033, SE 0.009) | 0.891 | 0.898 | 0.926 |
Caveat: these are checker-only scores. IFEval answers got shorter (median 143 -> 96 words; answers under 30 words
12% -> 23%), and whether answers still do the underlying task has not been checked for this checkpoint.
Usage
vLLM:
vllm serve Qwen/Qwen3.5-9B --enable-lora --max-lora-rank 16 \ --lora-modules if30-step200=<path to this adapter>
Then query model if30-step200 with chat_template_kwargs={"enable_thinking": false}.
PEFT:
from transformers import AutoModelForCausalLM, AutoTokenizerfrom peft import PeftModel base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-9B", torch_dtype="bfloat16", device_map="auto")model = PeftModel.from_pretrained(base, "zroe1/qwen3.5-9b-ultradata-if30-grpo-lora-step200")tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-9B")