Pruning and Distillation

Quantization shrinks a model by storing each number in fewer bits. The other two levers remove numbers altogether — pruning cuts parts of a trained network, distillation trains a smaller model to imitate a larger one — and each trades accuracy, effort and hardware support differently.

Large Language Models: From Transformers to Frontier Models

Sign up free to read the rest of this lesson