Running Models YourselfLesson 25 of 82

Module 3 · Quantisation and model formats

Measuring the damage, properly

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 7 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 set that can detect the damage, and one that cannotItems that will show itJSON scored by a parser, not by eyeA prompt with twelve numbered constraintsA fact placed 8,000 tokens into the inputItems in every language you actually useArithmetic and rare API namesItems that will report nothingOpen-ended English chat, graded by feelShort questions with short answersA perplexity delta from 6.21 to 6.24Anything run once at temperature 0.7Thirty items all from the easy casePerplexity averages over the vast majority of tokens every version of the model gets right, and thetokens quantisation damages are a tiny fraction of any corpus. Run the left-hand set at temperature 0against the full-precision weights as well, or a quantisation failure and a model that simply cannotdo the task look identical.
Perplexity averages over the vast majority of tokens every version of the model gets right, and the tokens quantisation damages are a tiny fraction of any corpus. Run the left-hand set at temperature 0 against the full-precision weights as well, or a quantisation failure and a model that simply cannot do the task look identical.

Figure

A little at a time

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

Step 1 of 8Free · no account needed
Lesson steps

The number everybody quotes cannot detect the problem

Perplexity is the exponentiated average negative log-likelihood of a test corpus: how surprised the model is by text it should find ordinary. Every quantisation comparison publishes it, usually as a table of deltas: fp16 at 6.21, Q4_K_M at 6.24.

The trouble is what that average hides. Perplexity is dominated by the vast majority of tokens that are easy and that every version of the model gets right. The tokens where quantisation actually hurts (the closing brace, the correct API name, the eleventh constraint in a specification, the rare word in Tamil) are a tiny fraction of the corpus and move the average by almost nothing.

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) ‘Measuring the damage, properly’, in Running Models Yourself. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/running-models-yourself/measuring-quantisation-damage (Accessed: 29 November 2026).