Google Is Now Promoting Distillation, but the Teacher in the Docs Isn't Gemini
Google Cloud documentation recommends supervised fine-tuning and distillation, and Sebastian Raschka has conveniently put out a runnable tutorial. The comments were quick to clarify: the teacher is GLM 5.2, and the students are Qwen3 and Gemma 3.
Sebastian Raschka posted one line on X, and no one expected that Google promoting distillation would show up on the 2026 bingo card.
He also conveniently posted a tutorial link, the ch08 notebook on GitHub, about how to build a distilled version of a reasoning model from scratch.
The starting point was that Google Cloud documentation began recommending supervised fine-tuning and distillation. User Md Ismail took a screenshot and said Google stated that distillation is a net positive for the open-model ecosystem. His take is that the same playbook used to build the largest AI companies is now being used against their dominance.
The comments quickly split into several camps. Some reminded people that this doesn't mean you can distill Gemini Neon. The teacher model listed in Google's documentation is GLM 5.2, and the student models include Qwen3 4B, 8B, 14B, and 32B, as well as Gemma 3.
This detail made the discussion branch. Some said Google's moat is ecosystem plus AI; models aren't the only dependency, and stronger open models can also be absorbed into the product bundle. Some felt this lowers the barrier to catching up with frontier labs, betting on moats in distribution, compute, and data. Others brought up the past: Hinton, Vinyals, and Dean wrote a distillation paper back in 2015, and this February Google also accused 100,000+ prompts directed at Gemini of infringing IP. In the docs it's technology; in the logs it's infringement—the only difference is who is using it.
Sebastian's tutorial doesn't get involved in these debates. It gives code directly: use DeepSeek R1 math data as the teacher, and the student is Qwen3-0.6B base. The training data retains the full chain of thought and final answer; the loss function is plain cross-entropy, and teacher logits are not loaded. At a sequence length of 2048, it needs about 15GB of memory and takes around 3 hours on a DGX Spark; if memory is insufficient, you can lower the length to 1024 or 512.
Here's the video, 1 hour 21 minutes. The chapters run from why distill reasoning models, soft vs. hard distillation, on-policy vs. off-policy, all the way to loading data, tokenization, the training loop, and MATH-500 evaluation.
Notebook link: https://github.com/rasbt/reasoning-from-scratch/blob/main/ch08/01_main-chapter-code/ch08_main.ipynb
Some commenters asked whether a problem set of 12,000 questions can generalize beyond math, or whether the student has simply gotten good at MATH-500. Another question is more practical: when the student is much smaller than the teacher, what breaks first—the chain of thought or final accuracy? Someone guessed that the chain of thought can be copied convincingly, but self-checking cannot.
If you want to try it yourself, three lessons in the comments matter more than the recipe. First, filter the teacher outputs and keep only trajectories whose answers can be verified. Keep 50 to 100 of your own tasks and compare the student with the teacher; public benchmarks will mask details the student has lost. Before training, read the teacher model's license—not every model allows its outputs to be used for training.
Google promoting distillation is more significant as a signal than as a technical novelty. Distillation isn't new; what's new is that a cloud provider has started writing it into its documentation and specifying the teacher and student. For people building small models, the toolchain has become shorter. For onlookers, first see clearly which model is in the docs, then decide whether to follow along with the bingo.
发布时间: 2026-11-29 11:26