By Team Edtoolkits · AI learning
Compare bit depth and an outlier in a small weight array, keeping memory estimates separate from model quality.
Use the guide alongside the working tool.
Open Quantisation: Fewer Bits per Weight →Explore the lesson
Watch smooth colours turn into steps.
Choose how many bits each weight gets.
Compare memory and error, with or without an outlier.
A comparison to try
Keep the weight set fixed and compare coarse with finer quantization. Then enable the outlier and repeat: a wider range can squeeze many ordinary weights into fewer distinct levels.
Read the result
Inspect individual rounded weights and the error summary together. More levels usually reduce this toy rounding error; the memory estimate describes stored weight bits rather than the whole running model.
A mistake to avoid
These are invented weights and uniform rounding, not a benchmark of a quantized language model. Runtime buffers, caches, metadata and quantization methods affect real memory; similar average error can hide important differences in accuracy.
Teaching model and privacy
A teaching toy: 24 invented weights and the simplest even-step rounding. Real methods are cleverer, for example scaling small groups of weights separately. Memory figures for a 7-billion-parameter model are only for illustration. Nothing leaves your browser.
Ready to apply this workflow?
Try Quantisation: Fewer Bits per Weight →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.