Everything a model knows, every habit it has and every bias it carries comes from its training data. It is the least glamorous part of the subject and the one that explains the most behaviour, including several things that look mysterious from the outside.
What goes into training data?
For a large language model, the bulk is text scraped from the public web, usually derived from open crawl archives that have been collecting pages for over a decade. Layered on top are books, academic papers, code repositories, reference works such as encyclopedias, and licensed collections bought from publishers and forums.
The total is measured in trillions of tokens. No human being has read any meaningful fraction of it, which is worth remembering whenever anyone claims to know exactly what a model has seen.
How is that material prepared?
Filtering matters at least as much as collection. Raw web data is mostly unusable, so the pipeline removes duplicates, strips navigation and boilerplate, filters out low-quality and adult content, and increasingly scores pages for whether they look educational. Recent research suggests careful filtering improves results more than simply adding more data.
Every filtering decision is an editorial one. Choosing which sites count as high quality shapes what the finished model treats as normal, and those choices are rarely published in detail.
Where does the training actually happen?
In two distinct phases, which are often confused. Pre-training is the enormous, expensive stage where the model learns language and general knowledge by predicting missing text across the whole corpus. It takes months and costs a great deal.
Post-training is what turns that into something usable. It includes instruction tuning on examples of good responses, and reinforcement learning from human feedback, where people rank alternative answers and the model is adjusted towards the preferred ones. Almost everything you experience as personality, helpfulness or refusal comes from this second phase rather than the first.
Why does training data explain model behaviour?
- Knowledge cutoffs. Nothing published after collection ended exists to the model.
- Uneven expertise. Subjects that are heavily written about online are handled far better than niche or private ones.
- Language gaps. English dominates most corpora, and quality drops for languages with less material.
- Bias. A model trained on the internet reproduces what the internet assumes, including patterns nobody would endorse deliberately.
- Style defaults. The recognisable voice of AI writing is the average of a very large body of published prose.
Was permission given for any of this?
Mostly not, and this is the live legal question. The industry position has been that training on publicly available material is transformative and permitted. Authors, artists, news organisations and code hosts have disagreed in court, and cases across several jurisdictions are still working through.
Some outcomes are already visible without waiting for judgments. Licensing deals with publishers have become normal. Several companies now offer indemnities to business customers. And a growing number of sites block AI crawlers in their robots file, which changes what future models will be trained on.
Is the internet running out of text?
The supply of high-quality human writing is finite and largely consumed. Two responses are under way. The first is synthetic data, where models generate training material for other models, which works better than expected in narrow domains and risks compounding errors when overused. The second is a shift from scraping more text to extracting more value from what exists, through better filtering and more post-training.
What should you take from this?
When a model is unreliable on your subject, the usual reason is that there was little good material about it in training. That is also the fix: supply the documents yourself rather than relying on recall. Retrieval, file uploads and pasted context all work because they put the right material in front of a model that never had it. Training data explains the failure, and providing your own data is usually the answer.