What training data is
Training data is everything an AI model is shown while it learns. For a chat model, that is mostly text: web pages, books, articles, forum posts and code. For an image model, it is pictures paired with captions. For a speech model, it is audio and transcripts.
The model does not store these examples like a filing cabinet. It adjusts its parameters so that it gets better at predicting patterns in them. What it learns is the pattern, not a list of documents, though models can sometimes reproduce passages they saw many times.
Where it comes from
Typical sources include:
- The public web, gathered by a web crawler.
- Licensed content, such as archives bought or licensed from publishers.
- Code repositories and documentation.
- Human-written examples, such as questions with ideal answers written by contractors, used in post-training.
- Synthetic data, meaning examples produced by another model, a technique related to distillation.
- User conversations, only where a company's terms allow it.
The stages
Training data is used differently at each stage. Pretraining uses enormous, broad collections to teach general language ability. Fine-tuning and post-training use smaller, curated sets to teach a model to follow instructions, adopt a style or handle a specific domain.
Why it matters
Quality beats raw volume. Duplicates, spam and errors teach the model bad habits, so labs spend heavy effort filtering.
It sets the limits. A model knows little about topics missing from its data, and nothing about events after its knowledge cutoff.
It carries bias. If the data over-represents certain views or languages, the model's answers will lean the same way.
It raises legal and ethical questions. Whether and how copyrighted work may be used to train models is contested in courts and legislatures, and rules differ by country. Site owners increasingly state their wishes through robots.txt and licensing terms.
It affects privacy. Personal information in the data can sometimes surface in outputs, which is why labs filter it and why you should be careful about what you paste into tools whose terms allow training on your conversations. Check a tool's data settings.
Training data versus a prompt
Training data shapes the model before you ever use it. A prompt, and any documents you add to it, only affect a single conversation inside the context window. Changing what a model permanently knows requires more training, not a longer prompt.