> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ovalbee.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ovalbee.com/_mcp/server.

# Pre-label with a model

Fixing a box is faster than drawing one. When a model draws boxes on the images first, labelers only move a corner, change a class or delete an extra box. But pre-labels help only when they are good enough: a model that misses half the objects or invents boxes gives labelers more work, not less. So in OvalBee you always measure what pre-labels save, and pre-label only when it pays.

There are three ways to start, from simple to self-improving:

| Approach                                                              | Choose it when                                                                                                       |
| --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [Predictions as the labeling pool](#predictions-as-the-labeling-pool) | You already have a model that knows your classes, for example one trained on an earlier batch.                       |
| [Live training](#live-training)                                       | You have no model yet. One learns from every image your team submits and starts pre-labeling once it is good enough. |
| [Zero-shot check](#check-a-zero-shot-model-first)                     | You want to know if a model that finds objects by class name already knows your classes, before anyone labels.       |

If you haven't yet, read [Organize labeling](/use-cases/organize-labeling) for how pools and labeling stages work.

## Predictions as the labeling pool

```mermaid
flowchart LR
  images[("Images")] --> predict["Predict EdgeCrafter"] --> pool[("Unlabeled")] --> labeling["Labeling"] --> labeled[("Labeled")]
```

**Nodes:** [Dataset](/node-library/nodes/dataset-ops-dataset), a prediction node such as [Predict EdgeCrafter](/node-library/nodes/models-edgecrafter-predict-edgecrafter), [Labeling](/node-library/nodes/label-labeling) and [Compare prelabels with ground truth](/node-library/nodes/evaluate-evaluate-prelabeling-efficiency).

#### Pick a model trained on your classes

A model trained on your own labels is the best choice. A pretrained model predicts its own classes, such as the 80 COCO classes, so it only helps when yours are among them. Then use **Predict classes** to keep only the ones you label.

#### Check that it helps

Run the prediction node on a few images you have already labeled, and compare its output with your labels in **Compare prelabels with ground truth**. It sorts every box into correct, shifted, wrong class, extra or missed, and gives an assistance score: **Production-grade** from 0.9, **Strong assist** from 0.6, **Partial assist** from 0.3 and **Minimal assist** below that. Give it a few images labeled from scratch in a Labeling node as well, and from their time in the labeling tool the report estimates the labeling time the pre-labels save.

#### Pre-label the pool

Set the prediction node's **Destination dataset** to the dataset the Labeling stage takes its images from, and run it. The predictions land on the images waiting there.

#### Label as usual

Labelers open the images with boxes already drawn, correct them and submit. Review and every other stage work the same as before.

## Live training

> **Note**
>
> Live training uses professional nodes, available with the Pro plan on OvalBee Cloud and with the Business plan on your own installation. On any plan you can add them to a flow and explore their settings; running them requires one of those plans.

Live training removes the need for a model before labeling starts. A **live training session** keeps a Grounding DINO model training on a GPU while your team labels. Every image a labeler submits becomes a training example, and the session saves its weights as a new model version as it goes.

Before it trains on a submitted image, the session predicts that image and compares its guess with what the labeler drew. This gives the **prelabel quality**: the share of the labeling work the model already does, over its latest 10 scored images. A **quality gate** in the flow reads it before each batch. Below the bar, 60% in the templates, the batch goes to labelers as it is. Above it, the session pre-labels the batch first. Early batches are always labeled by hand, and the later ones arrive with boxes.

```mermaid
flowchart LR
  images[("Images")] --> batch["Get next batch"] --> gate{"Quality gate"}
  session["Live training session"] -.-> gate
  gate -- "good enough" --> prelabel["Prelabel with live training"] --> pool[("Labeling pool")]
  gate -- "not yet" --> pool
  pool --> labeling["Labeling"]
  labeling -. "every submit trains" .-> session
```

![The template library open on Live training: quick start: Import drag and drop feeds Input data, Get next batch, the Live training session and a Quality gate whose Yes branch goes through Prelabel batch and whose No branch goes straight to Move to labeling, then the Labeling pool, Labeling and Labeled data, with Prelabel efficiency on the side](/_fern-files/_img/6d7f84eebd863f5123682f62dc31bd67f67ed43f01ee2e175d37c0da5a74318f.webp)

**Nodes:** [Serve live training with Grounding DINO](/node-library/nodes/models-grounding-dino-serve-live-training-with-grounding-dino), [Get next batch](/node-library/nodes/sample-get-next-batch), [Condition](/node-library/nodes/flow-control-condition) as the quality gate, [Prelabel with live training](/node-library/nodes/models-general-prelabel-with-live-training), [Move](/node-library/nodes/dataset-ops-move), [Labeling](/node-library/nodes/label-labeling) and [Prelabeling efficiency](/node-library/nodes/evaluate-evaluate-live-training-prelabeling).

#### Start from the quick start template

**Live training: quick start** has the whole loop: import, batches, the session, the quality gate and a labeling step. Drop your images onto its import node.

#### Choose the model, classes and labelers

Copy a Grounding DINO model from the catalog and pick it on the live training node. Set the classes and the labelers on the Labeling node.

#### Turn on Live Training while labeling

Labelers turn on **Live Training** in the annotation tool and pick the session, so their submissions reach the model.

#### Send batches

Each run of the flow sends one batch. Run it when labelers need more images, or set a schedule on **Get next batch**. When every image has been sent, the flow stops.

To see what pre-labeling saves, turn on **Track prelabeling efficiency** on the Labeling node and connect its **Submitted** output to **Prelabeling efficiency**. It compares each image as the labeler first submitted it with the boxes the labeler started from, while the images move on to review, and charts the score over time.

**What you get:** a labeled dataset, a Grounding DINO model trained on your own data with a new version saved as your team labels, a live report of the session, and a report on how much the pre-labels saved.

**See it running:** [quick start](https://app.ovalbee.com/public/flows/live-training-quick-start) · [blood cells demo](https://app.ovalbee.com/public/flows/live-training-demo-blood-cells) · [case study](https://ovalbee.com/case-studies/live-training-blood-cells)

### More live training templates

* **Live training module** — the same session and quality gate with no labeling step of its own. It moves each batch into the pool of the labeling flow you already have, so the way your team labels and reviews stays the same.
* **Active learning with live training** — the model also picks which images to label next. People label a first batch, the validation set and the test set. After that, each round the images most similar to the model's validation failures are pre-labeled, and those where every box is confident join the training set without review.

### Try it on data you have already labeled

[Simulate labeling with live training](/node-library/nodes/models-general-simulate-labeling-with-live-training) works through a labeled dataset the way a labeler would: the session guesses each image, then gets your label for it and trains before the next one. Connect it to Prelabeling efficiency and you see how fast the session learns your data, before anyone spends time labeling.

## Check a zero-shot model first

Some models find objects from a class name alone, without any training on your data. The **Zero-shot prelabeling check** template asks one of them, Grounding DINO, to label a dataset you have already labeled, using only your class names. It never sees your labels. Then it compares its boxes with your labels in three ways:

* **Prelabeling efficiency** — how much labeling work its boxes would save.
* **Model accuracy** — how it scores as a detector against your labels.
* **Missed labels** — confident boxes where your labels have none, and objects the two put in different classes, in a dataset of their own, ready for review.

An **AI gate** answers a question about the results in plain words. It is answered by the language model of your OvalBee instance and charged to the workspace's credits.

A good score means you can pre-label new data of the same kind with this model right away. A poor score on a specialized domain usually means the model doesn't know your classes: start [live training](#live-training) instead. The same comparison also tells you whether your existing labels can be trusted.

## Make it yours

* **Add review.** Put a [Review](/node-library/nodes/label-review) stage after labeling, so every pre-labeled image is checked before it reaches the final dataset.
* **Raise or lower the bar.** If labelers spend more time fixing pre-labels than drawing, raise the quality gate's value. Lower it to get pre-labels sooner.
* **Close the loop.** Retrain your detector on the labeled dataset and use the new model for the next pool. See [Train a detector](/use-cases/train-a-detector).