CHAPTER 02 · Scaling Laws and Chinchilla, How Big Should a Model Be? · 1 / 5
Three knobs you can turn
When training a language model, you mostly control three things:
- Model size, the number of parameters. Parameters are the adjustable dials inside the model. More dials means more capacity to store patterns.
- Data size, the number of tokens of text you train on. A token is roughly a word or a piece of a word.
- Compute, the total amount of calculation you do, measured in FLOPs. Compute is basically time multiplied by hardware, which translates into money.
These three are linked. More compute lets you train a bigger model, or train on more data, or both. The whole game is deciding how to spend a fixed compute budget.