Training setup
- LoRA rank 16, alpha 32, no dropout, on q/k/v/o and gate/up/down projections.
- GRPO with Dr. GRPO loss: advantage = reward - group mean (no std normalisation), every token weighted equally, loss
divided by a fixed constant. No KL penalty.
- Learning rate 2e-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).
Held-out results
200 held-out prompts per set, 4 samples each, temperature 1.0, thinking off. Mean reward, ±1 SE across prompts.
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 (end of IF phase) | 0.585 ± 0.021 | 0.446 ± 0.028 |
| 150 | 0.572 ± 0.021 | 0.519 ± 0.030 |
| 200 (this checkpoint) | 0.578 ± 0.021 | 0.575 ± 0.030 |
Known side effect: answers to instruction-following prompts are much shorter than the base model's (about 190 vs
about 750 tokens on the IF held-out set).
Usage
vLLM:
vllm serve Qwen/Qwen3.5-9B --enable-lora --max-lora-rank 16 \ --lora-modules seq-step200=<path to this adapter>
Then query model seq-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-seq-if-ud-grpo-lora-step200")tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-9B")