AI Data Supply Chain

What Is AI Training Data? A Complete Guide

14 min read · 2026-06-03
300Testimated usable tokens of human-generated public text left for pretraining
18.5T+tokens in FineWeb, a leading open pretraining corpus (up from ~15T at its 2024 launch)
5.85Bimage-text pairs in LAION-5B, a widely used weakly-labeled image dataset
~33Kranked prompts in OpenAI's InstructGPT reward-model (RLHF) preference dataset
20:1Chinchilla's compute-optimal ratio of training tokens to model parameters
Key takeaways
  • 1AI training data is the raw examples, text, images, audio, video, table rows, and code, a model learns from during training. It is distinct from the trained model itself, which is a compressed set of learned weights, not a copy of the data.
  • 2Datasets scale very differently depending on how they're labeled: ImageNet required humans to hand-sort roughly 14 million images into more than 21,000 categories, while LAION-5B reached 5.85 billion image-text pairs by using unverified web alt text instead of manual labeling.
  • 3A single trained model typically depends on three separate datasets built at very different scales: a huge, mostly unlabeled pretraining corpus (Chinchilla trained a 70-billion-parameter model on roughly 1.4 trillion tokens), a much smaller labeled fine-tuning set (OpenAI's InstructGPT reward-model dataset held about 33,000 ranked prompts), and a held-out evaluation set.
  • 4Leakage between training and evaluation data is a measured, real problem: researchers found near-duplicate content contaminating over 4% of the validation sets in standard language modeling benchmarks, which inflates reported accuracy.
  • 5Structured data (tabular rows with fixed fields) is usually ready to train on with light cleaning, while unstructured data (most text, images, audio, and video) generally needs a labeling or extraction step first, which is why collecting and annotating unstructured data is the more expensive half of most data pipelines.
The short version

AI training data is the raw material a model learns from: the sentences, images, audio clips, video frames, table rows, and code files it sees during training, as distinct from the model itself, the compressed set of learned weights that results. That raw material comes in six modalities (text, image, audio, video, tabular, and code), each with its own scale and labeling conventions, and it gets organized into three purpose-built datasets that do different jobs: a huge, mostly unlabeled pretraining corpus, a much smaller labeled or ranked fine-tuning set, and a held-out evaluation set that has to stay uncontaminated by the other two or its accuracy numbers stop meaning anything. This guide walks through each of those distinctions with real, cited examples, from a 14-million-image hand-labeled dataset to a 33,000-prompt human-preference set, and ends with a worked example showing exactly how they fit together in an actual build.

On this page ▾

What is AI training data, exactly?

Training data is the raw material a model learns from: the sentences, images, sound waves, video frames, spreadsheet rows, and source code files it's shown during training, before any of it turns into a working model. The model itself is a different kind of object entirely, a fixed set of learned numeric weights, a compressed mathematical summary of the patterns the training data contained. Confusing the two is one of the most common mix-ups in AI coverage. A leaked model checkpoint and a leaked training dataset are not the same kind of asset, and they carry different legal, technical, and commercial consequences.

Every modality does the same underlying job, even though the examples look nothing alike. Feed a model enough well-chosen examples of a pattern, text that follows grammar and reasoning, images that map to object categories, audio that maps to words, and it learns to recognize or produce new examples it never saw during training. What changes across modalities is how the examples get collected, whether they need a human-added label, and how much data a model actually needs before that pattern shows up reliably. Where the data physically comes from, public web crawls, licensed archives, platform logs, brokered deals, is a separate question with its own answer in our map of the AI data supply chain. This guide stays on what training data actually is and how models use it once it's already been sourced.

Data vs. model, in one line
The dataset is the raw ingredients. The model is the dish. You can't reconstruct the exact ingredient list by tasting the dish, and that asymmetry is exactly why training data itself, not just model weights, has become a separately priced, separately licensed asset in its own right.

The six data modalities models learn from

Six modalities account for nearly all commercially relevant AI training data. Each has developed its own conventions for scale, collection, and labeling, shaped almost entirely by how expensive it is to gather and annotate examples of that type.

ModalityTypical scale at the frontierHow it's usually producedPrimary training use
TextTrillions of tokens; FineWeb, a widely used open pretraining corpus, now holds over 18.5 trillion tokens, up from ~15 trillion at launch [2][4]Web crawls, licensed archives, platform and product textPretraining language models
ImageFrom ~14 million hand-labeled images (ImageNet) [2] to billions of loosely paired examples (LAION-5B's 5.85 billion image-text pairs) [4]Photo libraries, scraped web images with alt text, camera and sensor captureVision models, image generation, multimodal LLMs
AudioThousands of validated hours; Common Voice logged about 2,500 hours across 38 languages at its first public release [2]Crowdsourced recordings, call and voice logs, licensed archivesSpeech recognition, transcription, voice models
VideoMillions of clips, but far smaller in raw item count than text or image corpora, because storage and per-frame annotation cost scale directly with durationCamera and sensor fleets, platform uploads, licensed footageVideo understanding, autonomous systems, generation
Tabular / structuredRanges from thousands to billions of rows; scale is domain-specific rather than following one common benchmarkDatabases, CRMs, transaction and event logs, sensorsClassification, forecasting, recommendation, fraud detection
CodeMulti-terabyte scale; The Stack collected 3.1 TB of permissively licensed source across 30 languages [2]Public repositories, package registries, internal codebasesCode generation, completion, and review models

Text still dominates raw token count because language is the cheapest modality to collect and the most useful for teaching general reasoning. Almost every frontier model released since 2023 is multimodal, though, combining several of these rows into one training run rather than picking a single one.

Labeled vs. unlabeled data

Labeled data pairs each example with the answer a model is supposed to produce: an image tagged with its object category, a support ticket tagged with its resolution, a sentence tagged with its sentiment. Unlabeled data is just the raw example with no attached answer; the model has to find useful structure in it on its own, usually by predicting a piece of the example from the rest of it, the next word, a masked pixel, a missing frame.

ImageNet is the clean textbook example of labeled data: its roughly 14.2 million images were sorted by human annotators into more than 21,000 WordNet categories, and that manual sorting is exactly what let early computer-vision models learn supervised object recognition [2]. LAION-5B sits in between the two categories: its 5.85 billion image-text pairs do carry a caption, but the caption is just whatever alt text a web author happened to write, never manually verified for accuracy, which is why practitioners usually call it weakly labeled rather than a clean supervised dataset [6]. Raw Common Crawl web text carries no labels at all; language models extract structure from it purely by predicting the next token, a self-supervised objective that requires no human annotation up front [8].

Unlabeled doesn't mean unusable
Most of the raw token count behind today's large language models is unlabeled text. Labeling gets added later, in far smaller quantities, during fine-tuning, which is exactly why fine-tuning datasets look nothing like pretraining datasets in either size or structure. That distinction is the subject of the next section.

Pretraining data vs. fine-tuning data vs. evaluation data

A single trained model is usually the product of at least three separate datasets, each doing a different job, built at wildly different scales.

Pretraining data

Pretraining is where a model acquires its general competence in a modality, and it runs on the largest, least-curated dataset in the pipeline, usually unlabeled. Hoffmann et al.'s Chinchilla paper found that model size and training-token count should scale together under a fixed compute budget, and trained a 70-billion-parameter model compute-optimally on roughly 1.4 trillion tokens, about 20 tokens for every parameter, well past what most earlier large models had used [2]. Almost nobody outside a handful of AI labs collects a pretraining corpus from scratch. Most builders start from an already-pretrained open-weight model and skip straight to fine-tuning. That's partly a matter of resources, and partly because the supply of fresh pretraining-grade text isn't infinite: Epoch AI estimates only about 300 trillion usable tokens of high-quality, human-generated public text exist in total, and projects that current scaling trends could exhaust that stock sometime between 2026 and 2032 [4].

Fine-tuning data

Fine-tuning takes a pretrained model and narrows its behavior toward a specific task, domain, or style, using a dataset that is orders of magnitude smaller and, unlike most pretraining data, usually labeled or human-ranked. OpenAI's InstructGPT work is a documented example of what that looks like in practice: a team of about 40 contractors built a supervised fine-tuning set of roughly 13,000 prompts with human-written responses, plus a separate reward-model dataset of about 33,000 prompts where labelers ranked multiple model outputs against each other, the format generally called RLHF preference data [2]. Our dedicated guide covers how RLHF preference data is structured and priced, and our fine-tuning volume guide covers exactly how many examples a given technique needs, so this piece won't repeat either in depth.

Evaluation (test) data

Evaluation data measures whether a model actually generalized or just memorized, and the measurement only works if that data was never seen during pretraining or fine-tuning. In practice, that guarantee is harder to keep than it sounds. Lee et al. found that language modeling datasets contain many near-duplicate examples, and that this duplication contaminates over 4% of the validation set of standard benchmarks they examined, which means some of what gets reported as model accuracy reflects memorized text rather than genuine generalization [2].

We develop two tools that allow us to deduplicate training datasets, for example removing from C4 a single 61 word English sentence that is repeated over 60,000 times.
Lee et al. (Google Research): Deduplicating Training Data Makes Language Models Better
Guard the boundary
A pretraining pipeline that deduplicates and screens out known benchmark text before training starts is standard practice at any serious AI lab today, not a nice-to-have. If you're licensing or buying a dataset, ask whether the seller ran any decontamination or deduplication pass, and against which benchmarks.

Structured vs. unstructured data

A second, independent axis cuts across all six modalities: whether the data arrives with a predefined schema. Structured data lives in fixed fields, rows and columns, key-value pairs, and is already machine-readable without any interpretation step. A CRM export with deal_stage, close_date, and amount columns is structured the moment it's exported. Unstructured data has no such schema. Free text, images, audio, and video are unstructured by default, because a sentence or a photograph doesn't arrive pre-sorted into fields a database can query.

The practical consequence is what it costs to make the data trainable. Structured data is usually ready to feed into a model after light cleaning. Unstructured data almost always needs an extraction or labeling step first, running text through parsing or classification, running images through object detection, before a model can use it for a supervised task, which is the labeling work described in the previous section. A useful middle category, semi-structured data such as JSON documents, log lines, or HTML with markup, carries partial structure and typically needs the least additional work to become usable.

Where code fits
Source code is a useful edge case: it's technically unstructured free text, but its syntax is far more constrained than prose, which is part of why code models can be trained effectively on relatively concentrated, well-curated corpora like The Stack rather than needing web-scale volume [2].

How much data do different kinds of models actually need?

There's no single number, because the answer depends entirely on which of the three stages above you're asking about. At a glance:

Training stageOrder of magnitudeConcrete anchor
Pretraining a foundation model from scratchTrillions of tokens (text) or billions of pairs (image-text)Chinchilla: ~1.4T tokens for a 70B-parameter model [2]; LAION-5B: 5.85B image-text pairs [4]
Fine-tuning an existing model for a narrow taskVaries by an order of magnitude depending on technique and taskSee the full breakdown by technique in How Much Data Do You Need to Fine-Tune an LLM?
Building an RLHF preference datasetTens of thousands of ranked comparisons at frontier-lab scaleInstructGPT's reward-model dataset: ~33K prompts [2]; see our RLHF data guide for smaller, domain-specific sets
Evaluating a trained modelA held-out slice, often 5-20% of a labeled dataset, set aside before trainingMust be deduplicated against the training data first [2]

What any of this costs to collect or license is a separate question with its own moving parts: labeling labor, licensing fees, and compliance review. Our cost breakdown covers that in full; this section is only about volume.

A worked example: the data behind a support chatbot

Here's how the distinctions above play out on an actual build, not an abstract one. A startup wants an AI assistant that drafts first-response replies to inbound customer support tickets.

  • 1Pretraining (inherited, not built). The team starts from an open-weight LLM already pretrained on a corpus in the FineWeb/Common Crawl family, tens of trillions of unlabeled tokens of general web text [4][6]. They never touch this stage directly; it's already baked into the base model they license or download.
  • 2Fine-tuning data. They pull 5,000 historical tickets, each labeled with the reply the human agent actually sent and whether the customer later confirmed the issue was resolved. That resolution label is what turns raw transcripts into a supervised fine-tuning set: small, labeled, and domain-specific, the opposite profile of the pretraining corpus above.
  • 3Preference data (optional). To sharpen tone, a reviewer ranks pairs of draft replies for 300 tickets, marking which reply reads as more helpful and on-brand. It's the same ranked-comparison format InstructGPT's reward-model dataset used, just several orders of magnitude smaller [4], which is normal: a narrow, single-company use case needs nothing close to frontier-lab scale.
  • 4Evaluation data. Before any training starts, the team sets aside a random 10% of tickets, about 550, and runs a near-duplicate check against the training 5,000 first, exactly the check that matters, since near-identical tickets (a customer re-sending the same complaint, or a templated response reused across cases) would otherwise leak into both sets and inflate reported accuracy [4]. Only after that check does the held-out set get used to measure the fine-tuned model's real resolution accuracy.
DatasetSizeLabeled?Job
Pretraining corpus (inherited)~18T+ tokensNo, self-supervisedGeneral language ability
Fine-tuning set5,000 ticketsYes, resolution outcomeDomain-specific reply behavior
Preference set300 ranked pairsYes, human-rankedTone and style alignment
Evaluation set550 held-out ticketsYes, never trained onMeasure real accuracy
The pattern generalizes
Swap support tickets for legal contracts, clinical notes, or sales calls and the same four-dataset shape holds. The proportions change; the structure doesn't.

The takeaway

AI training data is not one thing. It's at minimum three differently sized, differently purposed datasets, pretraining, fine-tuning, and evaluation, pulled from six modalities that each have their own scale and labeling conventions, and split further by whether any given dataset is structured or not. Getting those distinctions right is what separates a rigorous data strategy, or a rigorous valuation of data you're thinking about selling, from guesswork.

If you're trying to work out where a specific dataset came from in the first place, our map of the AI data supply chain picks up exactly where this guide leaves off.

Know what your data actually is. Now find out what it's worth.

If you're sitting on proprietary datasets from a startup that's winding down or pivoting, Dayda can help you work out which category they fall into, how clean they are, and what qualified buyers would actually pay.

List your data on Dayda