How does it work?
Weights are typically trained at 16 or 32 bits each. Quantization maps them onto a smaller range — 8 bits, or 4 — by recording the range each group of weights covers and expressing each one as a step within it. Going from 16-bit to 4-bit cuts memory roughly fourfold.
The subtlety is that not all weights matter equally. Good quantization keeps the sensitive parts at higher precision and compresses the rest hard, which is why two 4-bit versions of the same model can differ noticeably in quality.
