Pretraining Explained: How an AI Model Learns Before Anyone Teaches It

Pretraining Explained: How an AI Model Learns Before Anyone Teaches It

Business Pill 23 · How a model learns before it has a job

Before it has any job, a model learns by playing one simple game trillions of times: guess the next word. That stage is called pretraining.

A short explainer video. The numbers in it are round numbers for illustration.

The Short Answer

Before anyone teaches it a task, a model plays a simple game. Take a sentence, hide the next word, and ask the model to guess it. Then show the real word and adjust the model a little, so its next guess is better.

Trillions of Guesses

Now repeat that game trillions of times, across books, websites, code and conversations. Nobody labels anything. The text itself provides the answer. That is what makes it possible at this scale.

To guess well, the model has to pick up a great deal along the way: grammar, facts, how an argument is built, how code works. None of it is taught directly. It all comes from predicting the next word.

The Expensive Stage

This stage is called pretraining. It produces a general model, one that knows a lot but has no particular job yet. It is also the expensive stage: thousands of chips running for months. Very few organizations can afford it.

But it is done once, and the result can be reused for thousands of different purposes. This shapes the whole industry: a handful of companies build the general models, and everyone else builds on top of them.

Why It Matters

A model only knows what was in its training text, up to the day that text was collected.

Three Questions to Ask

  1. What text was the model trained on?
  2. When does its knowledge end?
  3. What does it still need to learn for our work?

More Business Pills

Business Engineer

The Map of AI

The Business Engineer framework maps where each part of the AI stack sits and who holds the leverage. These pills are short lessons from the same library.

Explore the Map of AI →
Scroll to Top

Discover more from FourWeekMBA

Subscribe now to keep reading and get access to the full archive.

Continue reading

FourWeekMBA