Skip to content

What is Training Data?

What training data is and how it shapes AI models: how the quality and diversity of data affect accuracy, bias and performance.

Sharing

What is Training Data?

Training data is the set of examples a machine learning model learns from. For a spam filter, it is emails labelled spam or not spam; for a large language model, it is a vast collection of text from books, websites, articles and code. What a model can do, and the mistakes it makes, depend largely on this data.

A Simple Example

To teach a model to tell formal from informal sentences, you might collect 10,000 sentences, each labelled "formal" or "informal". The model adjusts its parameters until its labels match yours, then it can label sentences it has never seen.

Training, Validation and Test Data

  • Training set: the examples the model learns from.
  • Validation set: held back to tune settings and decide when to stop training.
  • Test set: kept aside until the end, to measure performance on truly new data.

A common split is 80% training and 20% testing (or 70/15/15 with validation). Testing on unseen data shows whether the model has learned general patterns or merely memorised its examples, a problem called overfitting.

Training Data for Language Models

  • Large web crawls such as Common Crawl, filtered for quality.
  • Wikipedia, books and academic papers, including open-access research.
  • Code from public repositories.
  • Examples written or rated by people, used for fine-tuning.

Every model has a training cut-off date, so it knows nothing published afterwards unless it can search.

Why Training Data Matters

  • Quality: errors and low-quality text in the data show up in the output.
  • Bias: if some groups, languages or views are under-represented, the model reflects that.
  • Gaps: thin coverage of a topic makes invented answers more likely (see AI hallucination).

Ethical and Legal Questions

  • Consent and copyright: authors and publishers have challenged the use of their work for training.
  • Privacy: personal data can end up in training sets.
  • Your own text: some tools may use what you type to train future models. Check a tool's data policy before pasting in unpublished research.

Use case: Best AI for essay writing that keeps it yours

Your next paper, with real citations.

Describe your paper and get an outline in a minute. The Free plan needs no card.