Case & CodeA FIELD GUIDE TO AI
Start learning
Beginner

Model weights

In plain words

The full set of numbers that make up a trained model. Download the weights and you have the model.

Billions of tiny dials

A model is a huge set of dials, each holding a number. Training turns the dials a little at a time, over millions of examples, until the model’s guesses are good. After training the dials are locked: using the model does not change them, and showing it your document does not teach it anything permanent.

The fuller definition

Model weights are learned numerical values that influence how a neural network transforms inputs. Saved weight files hold much of the learned state needed to run the model.

Go deeper

Same eight billion values, different storage precision
32 bits32 GB
16 bits16 GB
8 bits8 GB
4 bits4 GB

Idealized value storage only, in decimal GB. Metadata, caches, mixed precision, and runtime overhead add to actual requirements. This is not a GPU purchasing calculator.

A concrete example

Downloading model weights lets compatible software load their values for inference, subject to hardware and licensing requirements.

The distinction that matters

Weights are one part of a usable model. You also need the matching configuration, tokenizer where applicable, and a compatible runtime.

Related terms

Where it is taught

What actually happens when you ask AI a question?

Source and further reading

Google · Machine Learning Glossary

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC