DistillKit

Distill a larger model into a smaller one.

Use caseDistill a larger model into a smaller one

Overview

DistillKit is an open-source research effort in model distillation by Arcee AI, giving the community easy-to-use tools to research, explore and adopt open-source LLM distillation methods.

Features

  • Logit-based distillation — for models that share the same architecture.
  • Hidden states-based distillation — works across different architectures.
  • Support for Supervised Fine-Tuning (SFT); DPO and CPT to come.

Distillation methods

  • Logit-based — transfers knowledge from a larger teacher to a smaller student using soft targets (teacher logits) via KL divergence.
  • Hidden states-based — aligns the student's intermediate-layer representations with the teacher's, enabling cross-architecture distillation.