Simon Verwaal. Glossary

Quantization

Representing model values with lower numerical precision

A technique that reduces the numerical precision of model values to save resources.

Quantization uses fewer bits to represent values such as model weights. This can reduce memory requirements and improve efficiency on suitable hardware. Results depend on the method, model and available hardware; faster execution is not automatic. For a local application, it can determine whether a model will run at all. Check that quality remains sufficient for the task. A model that summarises ordinary text well may behave differently with product codes or exact figures. Test representative input before treating lower memory usage as proof that the overall solution has improved.

Related terms

Further reading

Q ยท Back to all terms