← All questions
Training & Fine-tuningHard· Model Compression· Knowledge Distillation· Pruning

Walk me through producing an 8B model from a 15B checkp...

To produce an 8B model from a 15B checkpoint, first apply structured pruning to remove unnecessary layers and channels, guided by importance scores calculated on a calibration set. Once pruned, perform knowledge distillation using the 15B model as a teacher, training the student to match the teacher’s output distribution over 50-100B tokens with a temperature of 2. This method is highly efficient, requiring 6-8x fewer training tokens than training from scratch while maintaining high accuracy.

Code playground (Python)