Glossary

Pre-training

Pre-training

The first stage of building a model: it reads a huge amount of text and other data to learn language and general knowledge.

Pre-training is the first step in making a large language model, and the most expensive one. The model does the same exercise over and over: given the start of a passage, guess the next word. The material is a vast amount of web pages, books, code and other data.

A freshly pre-trained model knows a lot but isn’t yet good at following instructions. It needs further steps such as fine-tuning before it becomes an assistant that chats well and does what you ask.

An example

Think of a student who has read an entire library and knows a lot, but has never practised answering exam questions. That’s roughly where a model is after pre-training.

Go deeper (English Wiki): LLM Training Pipeline →

This entry was compiled with AI assistance from the sources in the English Wiki. Found an error? See Corrections