Training a Specialized Model

Training a Specialized Model

ORCA is a Vision Language Model (VLM) that extracts information from documents. To learn more, see ORCA (Optical Reasoning and Cognition Agent) VLMs.

While the base model works out of the box, you can improve its performance by training it on your specific data using annotated documents. ORCA VLMs can be managed and trained directly in Training Data Management (TDM). This article explains how to create a specialized model on top of the ORCA base model for your use case.

ORCA VLM specialization

The ORCA base model provides general-purpose extraction capabilities, but every customer’s documents are different.

Training the model on your documents allows you to:

Training creates a model tailored to your use case while still leveraging the capabilities of the ORCA base model.

Steps to specialize an ORCA model:

  1. Upload and annotate training documents.
  2. Train the model.
  3. Review the candidate model.
  4. Deploy the candidate model.
  5. Evaluate the candidate model.
  6. Retrain if needed or promote the model to production.

Before specializing an ORCA model, ensure that:

Upload and annotate training documents

Before specializing an ORCA base model, you must upload and annotate training documents for your layout. Doing so provides the ground-truth values the model will learn from during training.

Dataset requirements

Annotating documents

To access the VLM Annotations experience, click the Document ID link in the Training Data table for each file you want to annotate.

When annotating documents for adapting the ORCA base model, follow these guidelines:

Make sure to click Save on each annotated document.

Train the model

During training, the system uses the annotated document values as ground truth and trains a model tailored to your document format.

Number of required documents

To initiate training:

Training results

Training produces a candidate model that you need to deploy and evaluate against production data. To deploy the candidate:

The candidate model will be Live and you’ll be able to submit documents to be processed by the adapted ORCA base model.

Evaluate the candidate model

To evaluate the candidate model, you must first deploy it and then process documents through the system. Follow the steps below:

Using testing documents

We recommend setting aside 50-100 representative documents for testing your model’s performance. Doing so allows you to evaluate how the model performs on realistic data.

Evaluating

  1. Deploy the candidate model
  2. Run your testing documents through the system with a 100% QA sample rate.
  3. Evaluate the model’s performance.

ORCA VLM transcriptions

Unlike traditional Identification models, ORCA VLMs directly generate transcriptions for each field.