> 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.

# Model registry

> Shows the models evaluated on a validation dataset, how often new ones appear and how good they are.

## Overview

Shows the models evaluated on a validation dataset, how often new ones appear and how good they are.

The node card shows three numbers: model versions, architectures and the best score. Below them are two blocks:

* **Quality**: one line per model through its versions. The star marks the best version. Hover a point to see the model, its scores and the date.
* **Activity**: a grid like the one on GitHub, showing when new versions appeared. Switch it between **Month** (a cell is 4 hours of a day) and **Year** (a cell is a day).

It keeps no list of its own. Each run reads the model registry again, so connect the Evaluate nodes of your training branches to it and it refreshes after every evaluation. To find the best of these models, use [Get best model](/node-library/nodes/models-general-get-best-model).

```mermaid
flowchart LR
  n1["Evaluate object detection"] --> n2["Model registry"]
```

## How it works

Reads every evaluation of the selected **Task type** on any version of the **Validation dataset**.

Groups them by model version. A version appears at the time of its first evaluation and keeps its best score in the task's main metric, for example mAP50-95 for object detection.

Shows the count on the badge and draws the card from the versions of the last year.

## FAQ

#### Which models does it count?

Model versions of the selected **Task type** with at least one evaluation on any version of the validation dataset. A version evaluated several times counts once.

#### Does the card change on its own?

No. It reflects the registry at the moment of the run. Connect it after your Evaluate nodes so it runs after each evaluation.

#### My node shows only the badge. How do I get the card?

Nodes added before the card existed keep their old look. Select the node, choose **Model registry** in the **Widget** tab, then run the node once.

## Inputs

**`Validation dataset`** `dataset` — required

Validation dataset whose models the registry counts. Every version of it counts. Key: `EVAL_DATASET`.

---

**`Task type`** `select` — required, default: object_detection

Task the counted models perform. Key: `TASK_TYPE`.

Options:

* Object detection (`object_detection`)
* Instance segmentation (`instance_segmentation`)
* Semantic segmentation (`semantic_segmentation`)
* Classification (`classification`)
* Tracking (`tracking`)

---

## Outputs

**`Models count`** `string`

Number of model versions evaluated on any version of the validation dataset. Shown on the node as a badge. Key: `MODELS_COUNT`.

---

**`History`** `object`

Model versions of the last year with their best score and the time they first appeared, plus the counts and the best version of all time. The node card draws it. Hidden from the flow editor. Key: `HISTORY`.

---

## JSON config

Machine-readable node interface for automation and advanced usage.

#### Show JSON

```json
{
  "name": "Model registry",
  "description": "Shows the models evaluated on a validation dataset, how often new ones appear and how good they are.",
  "category": "Models",
  "namespace": "ovalbee",
  "templateKey": "models/general/model_registry",
  "version": "v1",
  "inputs": [
    {
      "key": "EVAL_DATASET",
      "label": "Validation dataset",
      "type": "dataset",
      "description": "Validation dataset whose models the registry counts. Every version of it counts.",
      "required": true,
      "default": null,
      "visibleWhen": null,
      "options": {
        "creatable": false
      }
    },
    {
      "key": "TASK_TYPE",
      "label": "Task type",
      "type": "select",
      "description": "Task the counted models perform.",
      "required": true,
      "default": "object_detection",
      "visibleWhen": null,
      "options": {
        "options": [
          {
            "label": "Object detection",
            "value": "object_detection"
          },
          {
            "label": "Instance segmentation",
            "value": "instance_segmentation"
          },
          {
            "label": "Semantic segmentation",
            "value": "semantic_segmentation"
          },
          {
            "label": "Classification",
            "value": "classification"
          },
          {
            "label": "Tracking",
            "value": "tracking"
          }
        ]
      }
    }
  ],
  "outputs": [
    {
      "key": "MODELS_COUNT",
      "label": "Models count",
      "type": "string",
      "description": "Number of model versions evaluated on any version of the validation dataset.",
      "artifact": false,
      "badge": true,
      "badgeOpens": null,
      "hidden": false
    },
    {
      "key": "HISTORY",
      "label": "History",
      "type": "object",
      "description": "Model versions of the last year with their best score and the time they first appeared, plus the counts and the best version of all time. The node card draws it.",
      "artifact": false,
      "badge": false,
      "badgeOpens": null,
      "hidden": true
    }
  ],
  "widgets": {
    "widget": {
      "id": "model-registry",
      "settings": {
        "data": {
          "type": "variable",
          "value": "self.outputs.HISTORY"
        }
      }
    }
  }
}
```