Samples
A sample is an example document in a model, with the right answers marked on it.
Marking documents for training
The quickest way to add samples is from your projects. While reviewing a document, Mark for training (Alt+A) adds it, with its annotations, to the model of its step; the button then reads Marked for training, and choosing it again removes the sample. This works for the extraction of a task, the Router and Segmentation, when their model comes from AI Studio. See Reviewing a document.
Adding samples in AI Studio
Add samples in a model brings in many documents at once. Each data source is a project, Live or Test, and a step, with filters such as the outcome, Marked for training, the date and a maximum number. A preview shows what will come in, and Import samples adds them.
The labels of the project then need a place in the model: Create adds a label as new, Map to joins it to an existing label, and Discard leaves it out. Auto-map matches labels with the same name.
Samples are always added to Latest, the version of the model you are working on. See Versions.
The Samples page
The Samples page lists every sample of the version you have open: its name, the version it came from, when it was imported and how many annotations, classes, segments or groups it has. Search and Filter by narrow the list, for example to samples with a certain label or tag, or to the samples new in this version.
Opening a sample shows it with its labels, ready to check or correct. See Labels.
Flagging samples
The flag on a sample (Alt+M) marks it as checked. It does not decide what the model learns from: a model uses every annotated sample. Adding or removing a label clears the flags, since every sample needs a new look.
Removing samples
Remove selected removes samples from the model, which no longer uses them. Removing cannot be undone.
When a model learns
An LLM-based model uses its samples in Latest straight away: every sample you add, change or remove counts in its next prediction. A trained model only learns from its samples when you train it. See Training.