Module 5 · Where the weights come from

Scaling laws, and the correction that changed everything

In this lesson

  • 9 min read
  • 5 reading sections
  • Knowledge check
  • Lesson 5 of 10 in this chapter

This chapter’s goalExplain what each training stage optimises and what it cannot fix, estimate the compute cost of a training run from parameter and token counts, and choose between prompting, retrieval and fine-tuning by what each one actually changes.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
The same eight-billion model, trained on more and more02.550.1630Training tokens, trillionsCross-entropy loss, lower is better—— 8B dense modelThe first mark is Chinchilla-optimal for this size, at twenty tokens per parameter. Everything to theright of it is money a lab spends because it will serve the model for years and serving is what costs.The returns diminish and do not stop. The shape is the finding; the exact values depend on the datamixture.
The first mark is Chinchilla-optimal for this size, at twenty tokens per parameter. Everything to the right of it is money a lab spends because it will serve the model for years and serving is what costs. The returns diminish and do not stop. The shape is the finding; the exact values depend on the data mixture.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 6Free · no account needed
Lesson steps

The surprising regularity

Train models of many sizes on many amounts of data and plot the loss. You do not get a mess. You get straight lines on a log-log plot: loss falls as a power law in model size, in data, and in compute.

The practical value is prediction. A lab can train a series of small models, fit the curve, and forecast the loss of a model a hundred times larger before spending the money. Very few things in machine learning are predictable in advance; this is one, and it is why enormous training runs are commissioned at all.

Two cautions before going further. The laws describe loss, not capability on any particular task, and the mapping from loss to usefulness is not a straight line. And they hold within the regime studied: extrapolating far beyond it is an assumption, not a result.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI, Actually Explained exam.

Stuck on something?Ask Anjali, your AI tutor

How to cite: Addaly (2026) ‘Scaling laws, and the correction that changed everything’, in How a Language Model Actually Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/how-llms-work/scaling-laws (Accessed: 29 November 2026).