Skip to main content

Labels

A label is an answer a model can give, such as the field Order number or the class Invoice.

Labels per kind of model​

What a label marks depends on the kind of model:

KindA label is
Entity ExtractionA field, marked on the text where it is found
ClassificationA class, one for each sample
FilterKeep or Filter, one for each sample
SegmentationA box drawn around a document on a page
PDF SplittingA group of pages that form one document

The Labels page​

The Labels page of a model lists its labels, with a name, a description and a short key. Add label adds one. Labels can be dragged into a different order, and only change in Latest. A deleted label stays in the saved versions that use it.

In a project, the fields of a task link to the labels of its model, so the model knows which field to fill. See Predicted fields.

Descriptions​

An LLM-based model reads the description of each label, so the description is a way to teach it. Write it as you would explain the field to a new colleague, such as "Order number: The customer's order number, at the top right, starting with PO."

Labeling a sample​

Opening a sample shows the document with its labels, ready to correct:

  • Extraction: Select the text, then choose its label. Clear (Alt+C) removes the labels of a selection.
  • Classification: Choose the class, or press its short key.
  • Segmentation: Draw a box around each document on the page. Delete removes a box.
  • Splitting: Group the pages that form one document, under Groups.

Alt+J and Alt+K open the previous and the next sample. The side panel holds the details, tags and comments of the sample.