Training
Training teaches a model from its samples and gives a new version of it.
Starting a training
New version, in the version menu of the model or on its dashboard, offers a path for each kind of model:
- Train a model: Train a model trains an extraction, classification or segmentation model.
- Learn rules: Learn rules teaches a splitting model where documents start.
- Compile filter: Compile filter turns the samples of a filter model into instructions and examples.
Source is the version to train from: Latest, which becomes the next version, such as v4, or an earlier version that was saved without training. With Train now off, the version is saved untrained, to train later.
LLM-based extraction and classification models learn without training, but can be trained into a version of their own as well.
What training needs
A training needs at least 30 annotated samples; for segmentation, 30 annotated pages. Under 100, a warning says the results will be noisy, and Before you train points out labels used fewer than 5 times. Classification samples without a class are left out.
The settings under Model choose the base model and the hardware, and Advanced holds the finer settings of the training. The defaults suit most models.
How long it takes
Training takes up to an hour. Learning rules takes a few minutes, and compiling a filter a minute or two. The version shows Training until it is ready.
Training runs
The Training runs page lists every training, with its version, how long it took and its status:
- Queued: The training waits for its turn.
- Staging: The samples are being prepared.
- Training: The model is learning.
- Building and Deploying: The new version is being made ready for use.
- Done, Failed or Aborted: The training has ended. Hover over Failed to see why.
Abort stops a training that is still queued, staging or training. Starting and stopping a training needs the Admin or Data scientist role.