Wink Pings

After Guarding Against Distillation for a Decade, Google Turns Around and Open-Sources a Complete Tutorial: The Window for 0.6B Small Models to Serve as Low-Cost Substitutes for Large Models Has Arrived

Google has packed the flagship large model's reasoning capability into a 0.6B small model, open-sourced all the code, and provided an official tutorial that walks through distillation step by step. Sebastian Raschka's practical code directly uses DeepSeek-R1 as the teacher. Why this is unusual, and which pitfalls to avoid in implementation, are all covered in this article.

Google's move this time is a bit out of character. A giant that has kept model distillation locked down more tightly than anyone has just packed flagship-level reasoning capability into a 0.6B small model, and then immediately afterward publicly teaches everyone in its official documentation how to distill open-source models. The complete code has just been released for free.

Knowledge distillation in plain terms: a big company spends sky-high compute to train a fully leveled-up top-student model, then has the top student write down its problem-solving reasoning step by step and feed it to a local small model only a tiny fraction of its size to copy the homework. This trick cuts inference costs to the bone. The concept of distillation was first proposed in 2015 by a Google team. In the past, big companies have always tightly guarded against others extracting capabilities from their models; now they are proactively writing it into official tutorials and encouraging the open-source ecosystem to distill from one another. That amounts to an official seal of approval: the path of small models plus high-quality data has been proven viable.

Why is distillation now much stronger than it was two years ago? Early models gave only dry final answers, so students could only memorize by rote. Reasoning models spit out the complete thought process of how they trial-and-error and reason step by step; what the small model learns is the entire problem-solving approach, which is what lets it perform above its class in vertical scenarios.

Sebastian Raschka, a well-known machine learning author, said he was surprised when he saw it. His original 2026 prediction list did not include this item at all, and he promptly pulled out his long-kept hands-on distillation code: use DeepSeek-R1 as the teacher to step-by-step teach a 0.6B-parameter Qwen3 small model to solve math problems. From having the teacher generate solution data for 12,000 problems, to writing the distillation loss function, running the training loop, and validating results, every step is out in the open. Ordinary developers no longer need to figure it out from scratch.

image

The code is here: ch08_main.ipynb

But do not expect that running the code once will let a small model on a phone comprehensively beat the flagship. Three real-world pitfalls must be avoided in advance:

  1. When the teacher has blind spots, the student suffers too. If the teacher model is itself weak in your vertical business domain, the ceiling of the distilled small model will only be lower.
  2. Generating data also costs real money. Having a large model generate tens of thousands of long reasoning chains in bulk means the upfront inference compute bill is not cheap at all.
  3. Generalization ability shrinks noticeably. The small model performs impressively on the narrow tasks covered by the training set, but when it encounters an unseen cross-domain hard problem, it tends to falter once the reasoning chain gets long.

The safest way to copy the homework: use this code as scaffolding, replace the math problems with the vertical business data you have on hand that is most repetitive and has the clearest rules, first validate efficiency gains on a small scale, and leave complex and tricky cases to the large model as a fallback.

A netizen asked a very practical question: if a model is distilled from a large model, are there licensing risks for commercial use? This time Google specifically emphasized the key to distilling open models: choose weights under permissive open-source licenses for both teacher and student models, for example a base like Qwen3 that allows commercial use, then you can confidently train your own vertical small model under compliant conditions.

Some people say that when daily call volume is not large, calling the API directly is the most worry-free. But for high-concurrency real-time interaction, offline on-device deployment, or scenarios such as healthcare and finance where sensitive data absolutely must not leave the intranet, a dedicated local small model of 0.6B to 3B is a hard requirement. Some developers also warn: whether 0.6B can actually run locally is the key; if quantization after distillation drops accuracy, all the effort is wasted.

Behind the giant's 180-degree turn is the maturation of a new approach: top open-source large models are becoming the entire industry's free data factory. When top-tier large models' thought processes become open-source fuel, small and medium-sized teams no longer need to compete over who has more GPUs; what they compete over is who better understands how to refine general intelligence into a dedicated weapon.

发布时间: 2026-11-30 11:38