SKILL

emerging-techniques-knowledge-distillation

Compress large language models using knowledge distillation from teacher to student models. Use when deploying smaller models with retained performance, transferring GPT-4 capabilities to open-source models, or reducing inference costs. Covers temperature scaling, soft targets, reverse KLD, logit distillation, and MiniLLM training strategies.

Target: Learning & research. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Knowledge Distillation: Compressing LLMs
  • When to Use This Skill
  • Installation
  • Quick Start
  • Basic Knowledge Distillation
  • MiniLLM (Reverse KLD)
  • Response Distillation
  • Core Concepts

Use Knowledge Distillation when you need to: Compress models from 70B → 7B while retaining 90%+ performance Transfer capabilities from proprietary models (GPT-4) to open-source (LLaMA, Mistral) Reduce inference costs by deploying smaller student models Create specialized models by distilling domain-specific knowledge Improve small models using synthetic data from large teachers Key Techniques: Temperature scaling, soft targets, reverse KLD (MiniLLM), logit distillation, response distillation Papers: Hinton et al. 2015 (arXiv 1503.02531), MiniLLM (arXiv 2306.08543), KD Survey (arXiv 2402.13116) Source: arXiv 2306.08543 (2024) Innovation: Use reverse KLD instead of forward KLD for better generative model distillation. Why reverse KL? Forward KL (standard): Student learns to match teacher's mean Reverse KL (MiniLLM): Student learns to cover all teacher's modes Better for diverse text generation Purpose: Soften probability distributions to expose teacher's uncertainty. Rule: Use T=2-5 for distillation (2 is common default). Hinton et al. 2015 (Foundational): https://arxiv.org/abs/1503.02531 MiniLLM (Reverse KLD): https://arxiv.org/abs/2306.08543 KD Survey for LLMs (2024): https://arxiv

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/ai-research/emerging-techniques-knowledge-distillation/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:43.075Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.