Training data is what a model learns from. For a fraud model it is past transactions marked as fraud or not; for a defect detector it is photos with defects outlined; for a fine-tuned language model it is examples of the inputs and ideal outputs. For a business buyer this is often the deciding factor in an AI project, because a model can only be as good as the examples it saw, and those examples usually come from the buyer.
How it works
A dataset is typically split three ways. The training set is what the model adjusts itself on. The validation set is used during development to compare versions and tune settings. The test set is held back until the end to give an honest measure of performance. Mixing these, for example by letting near-duplicate examples appear in both training and test, makes results look better than they will be in real use.
Good training data has a few properties. It covers the situations the model will meet, including rare but important ones. Its labels are consistent, ideally following a written guide. It is representative of current conditions rather than an old process. And the business has the right to use it for training, which matters for customer data, scraped content and licensed material.
As an example, a team fine-tuning a language model to draft support replies might export past tickets with the replies agents actually sent, remove personal details, discard poor replies, and keep a held-out set to compare the tuned model against the original.
What it means for cost
Data work is often the largest line in a model-building quote:
- Collection and cleaning. Pulling records from several systems and fixing gaps and duplicates takes time. See data cleaning.
- Labelling. If examples do not already have answers, someone has to add them. See data labelling.
- Privacy. Personal data must be removed or handled lawfully before training.
- Refreshing. Models trained on old data degrade, so new data has to be gathered over time.
Ask a builder how much data they need, in what form, who prepares it, and how they will keep a clean test set apart. Live figures for model adaptation builds are on the LLM fine-tuning cost page.
Common questions
Is training data the same as the data a RAG system searches?
No. Training data changes the model itself. Documents used for retrieval-augmented generation are looked up at question time and leave the model unchanged. Many business assistants need the second, not the first.
Can I use customer data to train a model?
Sometimes, but it depends on your terms, consent and the law where you operate. Remove what is not needed, check data protection rules, and confirm whether your model provider retains or learns from the data you send.
What if I do not have enough training data?
Options include starting from a pre-trained model, labelling more examples, generating synthetic data to fill gaps, or choosing an approach such as prompting that needs far fewer examples.