Evaluations
An evaluation scores a registered model against a dataset with a grader. Evaluate after training and compare with a baseline on the same held-out data.
Models
Models are versions in the artifact registry. A completed run registers its final adapter as a version of the run’s named model, such as triage/qwen3-0.6b:v3. Name a model by its registry reference: triage/qwen3-0.6b:v3, triage/qwen3-0.6b for the latest version, or an alias such as triage/qwen3-0.6b:champion. Optimize stores the exact version that a reference resolves to.
List a named model’s versions, then read one:
akka optimize registry models versions triage/qwen3-0.6b
akka optimize registry models get triage/qwen3-0.6b:v3
To register a snapshot from an earlier point in a run, use the following command:
akka optimize training snapshots candidate SNAPSHOT_ID
Wait for candidate to report REGISTERED and a model version before evaluating it. Registering the same snapshot again returns the same version. A snapshot containing only training state cannot be registered.
Baselines
Compare a candidate with a baseline. Evaluate the base model on the same dataset with the same grader. Selecting a base model in the catalog registers it as a version of a named model identified by its lowercase repository name, so Qwen/Qwen3-0.6B becomes qwen/qwen3-0.6b:v1. The training base-models list command shows the version of each selected model.
To score an adapter trained elsewhere as a baseline or judge, import it with training adapters import. See Import an adapter.
A base model does not belong to a training project, so specify the project for its score when you evaluate it:
# Selecting the base model registered it as a version of the named model its repository
# lowercases to, so the baseline names that version.
BASE=$(akka optimize registry models get unsloth/llama-3.2-1b-instruct:latest -o json --jq .reference)
BASELINE=$(akka optimize training evaluations start --model "$BASE" \
--dataset support-triage/eval-frontier --project support-triage -o json --jq .evaluationId)
akka optimize training evaluations wait "$BASELINE" --exit-status
Evaluate a model
To start an evaluation and inspect its results, follow these steps:
-
Start the evaluation:
akka optimize training evaluations start --model triage/qwen3-0.6b:v3 --dataset triage/eval --wait --exit-status -
Read the evaluation detail:
akka optimize training evaluations get EVALUATION_ID -
Read the report:
akka optimize training evaluations report EVALUATION_ID -
Read the predictions:
akka optimize training evaluations predictions EVALUATION_ID
To list evaluations for the model, run the following command:
akka optimize training evaluations list --model triage/qwen3-0.6b:v3
The list shows the evaluations, newest first. akka optimize training evaluations list --help names the filters it takes.
For a grader other than json-label-match, pass --grader; for a model judge, also pass --grader-instructions. Use --project for a base-model baseline. See Graders and rewards.
To cap the length of a scored answer, use an evaluate stage in a pipeline with maxCompletionTokens. See Pipelines.
The training projects scores command tabulates only evaluations whose dataset and grader match the project’s evaluation settings.
Read the mean score and weakest fields in the report. Check unscored examples before comparing means; they do not count as zero. Use predictions for prompts, expected and actual answers, and individual scores.
The following example shows training evaluations report output. Your IDs and scores differ.
akka optimize training evaluations report 6a1d3f5b7c9e
Evaluation 6a1d3f5b7c9e2048a0d5545ba1f1d85837317eb36c7ea8d1687e9f694f8f027f
Model triage/llama-3.2-1b-instruct:v2
Dataset triage/eval:v1
Examples 100
Grader json-label-match
Unscored 0
Mean score 0.8600 (95% CI 0.7900 to 0.9200)
Exact match 0.8600 (86 of 100, 95% CI 0.7786 to 0.9147)
intent 0.8600
The following example shows training evaluations predictions output. Your examples differ.
akka optimize training evaluations predictions 6a1d3f5b7c9e --limit 2
Showing 99 to 100 of 100
Example 99
Asked My card was charged twice for the same order.
Score 1.0000
Expected {"intent": "billing"}
Answered {"intent": "billing"}
Example 100
Asked How do I change the email on my account?
Score 0.0000
Expected {"intent": "account"}
Answered {"intent": "billing"}
Read the answers it got wrong
Each example has one result: correct for a score of at least 1, incorrect for a score below 1, unscored where the grader gave no verdict, and ungraded while it waits for the grader. Pass --result with one or more results, separated by commas, to read only those examples. Pass --below with a score to read the examples scoring below it. An example without a score never scores below a threshold.
The examples are in the order of the evaluation dataset. --limit alone shows the last examples that match. To page from the first, pass --offset with --limit, at most 200 a page. The Showing line says how many examples match, and Next gives the --offset of the next page.
The following example reads the first incorrect or unscored examples. Your examples differ.
akka optimize training evaluations predictions 6a1d3f5b7c9e --result incorrect,unscored --offset 0 --limit 2
Showing 1 to 2 of 7 matching
Next --offset 2
Example 12
Asked Where is my refund for the order I returned last week?
Score 0.0000
Expected {"intent": "refund"}
Answered {"intent": "shipping"}
Example 37
Asked I want to close my account and delete my data.
Score 0.0000
Expected {"intent": "account"}
Answered {"intent": "billing"}
In the API, GET /v1/training/evaluations/{id}/predictions takes the same offset, limit, result and below query parameters, and reports how many answers match in the X-Total-Count header of a response with a limit. Each answer carries how Optimize judged it, the judgement the result filter and the report use: result, one of the four results, and resultScore, the score the result is based on. resultScore is absent from an unscored or ungraded answer. The Score line of training evaluations predictions shows resultScore. With json-label-match, resultScore can differ from the answer’s own score for an answer an earlier version of Optimize scored, and for an answer the grader gave no verdict on.
While an evaluation runs, the examples graded so far keep their place, and a later page can hold examples that were not graded on an earlier read.
Use the 95% confidence intervals to compare scores. Widely overlapping intervals mean your dataset does not distinguish the scores clearly. Use a larger evaluation dataset when you need a more precise comparison.
An interval from a small dataset or identical scores can be misleadingly narrow. Do not treat a zero-width interval as proof of a precise score.
An evaluation fails if it cannot reach the grader. The training evaluations cancel command stops an evaluation in progress.
To connect these scores to the model version, its producing run and its dataset, see Model lineage.
Answers that call tools
Tool-call answers are compared by call order, names and JSON argument values. A mismatch scores zero. Matching calls with no expected text score one; otherwise your grader scores the text. Text after a call is not scored.
Use training evaluations predictions to compare expected and actual calls. In JSON output, read expectedCalls, actualCalls, callsMatch, and callsMismatch. Calls have a name and parsed arguments, or argumentsText for invalid JSON. Correct the first mismatch before evaluating again.
If Optimize cannot read expected tool calls for the model, it refuses the evaluation and names the first affected row. Choose a model that supports those calls or correct the dataset. Rows that only offer tools can still be graded as text without a parser.
Comparisons
A comparison evaluates one source snapshot and selected branch models with one pinned dataset, grader, and completion-token limit. Use a comparison to score branches under the same conditions. The comparison registers the source as a candidate if necessary.
Create a comparison, then read it:
akka optimize training comparisons create \
--source SNAPSHOT_ID --candidate triage/qwen3-0.6b:v4 --candidate triage/qwen3-0.6b:v5 \
--dataset triage/eval --grader json-label-match --max-completion-tokens 64 \
-o json --jq .comparisonId
akka optimize training comparisons get COMPARISON_ID
Use the full snapshot ID. Creation starts durable preparation, and you can read the comparison while its phase is PREPARING or RUNNING. The COMPLETED phase means that every target completed. The PARTIAL phase shows completed results with failed, refused, or uncertain targets. The FAILED phase means that no target completed. An incomplete comparison has no winner.
Compare results only under the same dataset, grader, and completion-token limit. A zero limit is uncapped. Comparison costs cover complete runs.
Compare a branch with its source using the reported score difference and 95% paired interval. The verdict is higher, lower, or not distinguishable. The interval reflects the evaluation examples, not variation between training runs. In JSON output, read scoreFromSource.
List comparisons, newest first, or list those for one source snapshot:
akka optimize training comparisons list
akka optimize training comparisons list --source SNAPSHOT_ID
Record your choice
Set an alias such as champion to record the model version you chose. Nothing in Optimize acts on it. A routing destination names one version and refuses an alias because it can move. See Record a choice with an alias.