# Data curation

> Canonical: https://skillalmanac.com/glossary/data-curation | Last verified: 2026-11-25 | Index status: index-eligible

Data curation is the work of creating and managing datasets so people can find and access them. In machine learning it includes selecting, cleaning, describing and checking the data a model is trained or tested on.

Also called: data curation machine learning, dataset curation, AI data curation, data curation for AI, training data curation.

## In plain language

Data curation is what a good librarian does for a pile of data. Someone decides what belongs, fixes errors, writes down where each item came from and what it contains, and stores it so others can find it later. In AI, the data a model learns from shapes what it can do, so teams curate it before training or tuning. For example, a team preparing examples to teach a chat model might remove duplicates, drop low-quality entries and check that the examples cover the tasks they care about. The limits are cost and judgement: curation takes people or tools, choices about what counts as good can introduce bias, and a carefully curated set can still be wrong or leave gaps. It does not remove the need to test the model afterwards.

## Technical definition

IBM describes curation as consolidating data assets, adding metadata, enriching records and improving quality across the data lifecycle, with steps that include planning, description, preparation (cleaning, format conversion, anonymising), quality assurance with provenance tracking, storage and discovery. In machine learning practice, the same work appears as selecting and filtering examples, deduplicating, balancing and documenting them. The LIMA paper (Zhou et al.) fine-tuned a language model on a small set of carefully curated prompt-response pairs and reports that a small amount of such data was enough to teach format and style, which it uses to argue that most knowledge comes from pretraining.

## How it shows up when you use agents

Most people running Claude Code, Codex or Cursor do not train models, so curation shows up in smaller places: the eval set you build to test an agent, the examples you give for few-shot prompting, the documents you load into a retrieval system, or the dataset you pull from a hub to fine-tune a model. In each case, someone has to decide what goes in, what is removed and how it is described.

According to IBM, poor data produces weak results, and issues such as missing values, outliers and inconsistencies can distort analysis. For an agent, that means a messy [training data](/glossary/training-data) set or a set of reference documents with duplicates and stale files can lead to wrong answers that look confident. The LIMA paper fine-tuned a model on 1,000 curated prompt-response pairs; its authors frame the result as a finding about how much [fine-tuning](/glossary/fine-tuning) data is needed, not as a recipe.

What breaks when this is misunderstood: treating curation as a one-time cleaning pass, or assuming more data is better. A next action is to write down your selection rules, check for duplicates and leakage between training and test files, and keep notes on where each source came from. Related practices include [data labeling](/glossary/data-labeling) and generating [synthetic data](/glossary/synthetic-data), both of which need the same checks.

## Common confusions

- **Data curation versus data cleaning.** Cleaning fixes errors in records. According to IBM, curation is wider: it also covers description, provenance, storage and discovery.
- **Data curation versus data labeling.** Labeling attaches answers or tags to examples. Curation decides which examples to keep and how to document them; the two often happen together.
- **Curated versus large.** The LIMA authors report results from a small curated set, which they use to argue that pretraining supplies most knowledge. That is a finding about one setup, not a rule that small sets always work.
- **Myth.** Curated data is unbiased. Choices about what to include or drop are judgements, so curation can add or hide bias as well as reduce it.

## Worked examples in this catalogue

### [llm-eval-test-sets](https://skillalmanac.com/skills/skill-almanac/llm-eval-test-sets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: An eval dataset for an LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.

Why it exercises the concept: Checking for duplicates, imbalance and leakage is curation work applied to an evaluation set. The catalogue has no skill for curating pretraining or fine-tuning data, so this is the closest working case.

### [split-leakage-check](https://skillalmanac.com/skills/skill-almanac/split-leakage-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A check of train, validation and test files for duplicates, shared groups, time and label leakage, printing JSON.

Why it exercises the concept: Curation includes making sure the same record is not in both training and test files. This skill checks that one property and does not curate the data for you.

### [huggingface-datasets](https://skillalmanac.com/skills/huggingface/huggingface-datasets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Hugging Face datasets read through the Dataset Viewer API: metadata, rows, search and filters.

Why it exercises the concept: Looking at a dataset's metadata and rows before using it is the first step of curation, and it is something a coding agent can do. The skill reads datasets; it does not clean or select them.

### [data-analysis-eda](https://skillalmanac.com/skills/skill-almanac/data-analysis-eda)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A fixed exploratory-analysis procedure and CSV profiler that keeps findings descriptive, evidenced and caveated.

Why it exercises the concept: Profiling a file for gaps and oddities is a common first pass before curating it. The skill reports findings; deciding what to remove is still your call.

## Related terms

- [Training data](https://skillalmanac.com/glossary/training-data.md)
- [Data labeling](https://skillalmanac.com/glossary/data-labeling.md)
- [Fine-tuning](https://skillalmanac.com/glossary/fine-tuning.md)
- [Synthetic data](https://skillalmanac.com/glossary/synthetic-data.md)
- [Pretraining](https://skillalmanac.com/glossary/pretraining.md)
- [Instruction tuning](https://skillalmanac.com/glossary/instruction-tuning.md)

## Sources

- [What is data curation?](https://www.ibm.com/think/topics/data-curation), IBM (accessed 2026-11-24)
- [LIMA: Less Is More for Alignment](https://arxiv.org/abs/2305.11206), arXiv (Zhou et al.) (accessed 2026-11-24)
- [Digital curation](https://www.dcc.ac.uk/about/digital-curation), Digital Curation Centre (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
