What Knowledge Distillation Is and Why It Is Standard
What a Hugging Face post says knowledge distillation is and why compressing large models into smaller ones has become standard practice.
For: Learners who know what a language model is.
What distillation is
Knowledge distillation, training a smaller student model to match the performance of a larger teacher, is a well-known technique in Machine Learning.[1]
What the post says it costs
Keeping both the teacher and student loaded, and producing a probability distribution over the entire vocabulary for every token, requires enormous amounts of VRAM, typically feasible only with hundreds of GPUs and careful tensor-parallelism strategies.[1]
Sources
- Making Knowledge Distillation Cheap Enough to Run at Scale (huggingface.co · checked )
More articles
- LearningWhy a New Label Costs a Classifier So MuchWhat Hugging Face's post says about how a classifier maps input to fixed labels, what a fourth label needs and how zero-shot classification changes it.
- LearningWhat Assisted Generation Is and What Its Two Models DoWhat a Hugging Face post says assisted generation is also known as, what its core idea is and what the assistant and target models do each cycle.
- LearningWhat an Expert Is in a Mixture-of-Experts ModelWhat a Hugging Face post says a Mixture of Experts model replaces, what an expert is not and what the router does for each token.