Distilling Qwen 27B into 4B: three distillation methods tested to break a 58% wall

Prompt Engineering · youtube · 2026-10-29

Prompt Engineering follows up its RL experiment (Qwen 4B stuck at 58.4%) by using Qwen 27B as a teacher across two DGX Sparks, testing three distillation approaches: training on teacher answers, on teacher probabilities (which added almost nothing), and on-policy distillation where the 27B grades every token the 4B writes (per Thinking Machines' method).

The video covers why RL plateaued, a six-method comparison chart, a 4-tries test, and two practical gotchas: tokenizer mismatches and vLLM memory issues. Code and the SmolDataEnvs dataset are open-sourced.

Original post →

More from Models

Models channel →