Running Models YourselfLesson 27 of 82

Module 3 · Quantisation and model formats

The other ways to make a model smaller

In this lesson

  • 8 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 9 of 9 in this chapter

This chapter’s goalChoose a quantisation format and bit rate for a stated model, machine and task; produce a quantised model yourself from the original weights; and measure the resulting damage with a method that can actually detect it, rather than relying on a perplexity delta that cannot.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

Quantisation is one lever of three

A model can be made smaller by using fewer bits per weight, by having fewer weights, or by being a different model trained to imitate the first. These are not competitors; they compose, and the published small models you use every day are usually the result of all three.

Pruning: removing weights

Unstructured pruning sets individual weights to zero: typically the smallest ones, or those a sensitivity measure marks as expendable. Fifty per cent of weights can often be removed with modest quality loss. The catch is that a sparse matrix with zeros scattered through it is no faster on ordinary hardware, because you still read and multiply the same shapes. You have saved storage and nothing else, unless the hardware supports a structured sparsity pattern such as two non-zeros in every group of four, which some NVIDIA generations accelerate directly.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Open Model Ecosystem exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘The other ways to make a model smaller’, in Running Models Yourself. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/running-models-yourself/pruning-distillation-and-other-shrinking (Accessed: 29 November 2026).