AI Glossary Term

What does “Pretraining” mean?

Definition

Initial large-scale model training on broad data before downstream adaptation.

How Pretraining works

Diagram for Pretraining, steps in order: Huge, broad data: web, books, code; then Learn general patterns, e.g. next-token prediction; then Pre-trained base model; then Adapt: fine-tune or prompt.Huge, broad data: web, books, codeLearn general patterns, e.g.next-token predictionPre-trained base modelAdapt: fine-tune or prompt

Example

A language model is first trained for weeks on a vast mix of text, learning grammar, facts, and styles by predicting the next token. Only afterwards is it shaped into a chat assistant through further training.

Why it matters

Pretraining is the most expensive stage and gives a model most of its general abilities. Choices about the data shape its strengths and biases.

Common questions

What data is used?

Usually large collections of web pages, books, code, and other text, sometimes plus images and audio, filtered for quality.

Is a pre-trained model ready to chat?

Not usually. It tends to continue text rather than follow instructions until it is further tuned.

Who can afford to pretrain?

Mostly large labs and well-funded groups, since it needs large compute budgets.

Learn more in our free guides

Test yourself

See also