> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eyepop.ai/cli/evaluation.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# Datasets And Evaluation

Build datasets and score an ability against ground truth

An evaluation runs a configured model — an ability, in CLI commands — against the accepted media in a dataset and compares its results with ground truth.

### Run An Evaluation

An ability belongs to an ability group, and the group names a reference dataset — the one the ability is normally scored against. Omit `--dataset` and the evaluation uses it:

```bash
eyepop evaluate --ability my-namespace.find-kittens:latest
```

Pass `--dataset` to score against a different one:

```bash
eyepop get datasets
eyepop evaluate --ability my-namespace.find-kittens:latest --dataset people
```

`eyepop get groups` shows each group's reference dataset in the `REF DATASET` column. A group with no reference dataset cannot supply the default, and the evaluation fails naming the group.

Evaluation is asynchronous. The CLI waits up to 20 seconds — raise `--timeout` to wait longer; a lower value shortens only the server's own wait, since the CLI keeps polling for at least 20 seconds — and prints the metrics if the run finishes in that window. Otherwise it prints a request ID to check on:

```bash
eyepop get evals <request_id>
eyepop get evals <request_id> --watch
```

### Narrow What Gets Scored

Score one partition or restrict the ground-truth classes:

```bash
eyepop evaluate --ability my-namespace.find-kittens:latest --dataset people \
  --partition test \
  --filter-class person
```

Repeat `--partition` or `--filter-class` to select more than one. Run `eyepop evaluate --help` for video and timeout options.

### Build A Dataset

```bash
eyepop create dataset --name people
eyepop create asset --dataset people --media-path ./images --recursive --partition test
eyepop get assets --dataset people
```

A partition is assigned at upload, so pass `--partition` when you add the assets you plan to score. Uploading media does not create ground truth — annotate the assets before evaluating.

A dataset is addressed by name, by UUID, or by name with a version suffix such as `people@3` or `people@latest`. To look at one version:

```bash
eyepop get datasets people --version 3
```

### Next steps

* [Run Inference & Evaluations](https://docs.eyepop.ai/cli/run.md) — the quick path to a single evaluation
* [Concepts](https://docs.eyepop.ai/cli/concepts.md) — datasets, assets, ground truth, and partitions
* [Command Reference](https://docs.eyepop.ai/cli/reference.md) — every `evaluate` and dataset flag


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eyepop.ai/cli/evaluation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
