Glossary

Quantization

Quantization

Storing a model's numbers less precisely so the model gets smaller and faster, at the cost of a little accuracy.

A model is made of an enormous number of numbers (its parameters). Each one is normally stored with a fair number of bits; quantization stores them with fewer, a bit like rounding eight decimal places down to two.

That cuts the memory a model needs dramatically, so an ordinary computer may be able to run it. Squeeze too hard, though, and answer quality drops noticeably. The “4-bit versions” of models you see online are quantized models.

An example

It’s like compressing a high-resolution photo into a smaller file: it sends much faster, looks a bit blurry when you zoom in, and is fine for everyday viewing.

Go deeper (English Wiki): Quantization →

This entry was compiled with AI assistance from the sources in the English Wiki. Found an error? See Corrections