Models and training

Quantization

Representing a model’s numbers with fewer bits so it can use less memory.

Where you’ll use it.

A smaller-memory model may fit on a laptop that cannot load its full-precision version.

What to keep separate.

Quantization changes numerical precision; distillation trains a model. Lower memory use does not guarantee equal quality or faster responses on every device.

Connect the ideas.

Read the source.

Hugging Face — Transformers: quantization overview ↗

Lower-precision representations can reduce memory use. Results depend on method, model and hardware.

Reviewed October 24, 2026. Examples are fictional. Product-specific features and data terms vary.