Model lineage
Start with the model version your routing destination serves, such as NS/NAME:vN. A routing destination names one version and refuses an alias. Use that version to show which model produced an output, which run made it and which evaluations checked it.
Read the version and its producer
Read the registered version:
akka optimize registry models get NS/NAME:vN
akka optimize registry models get triage/llama-3.2-1b-instruct:v2
Version triage/llama-3.2-1b-instruct:v2
Digest sha256:5e1d9b3f7a2c4e6081b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1a3c5e7b9d1f3a5c7
Registered 3h29m ago
Aliases latest
Lifecycle active
Base model unsloth/llama-3.2-1b-instruct:v1
Parent base model unsloth/llama-3.2-1b-instruct:v1
Produced by run 2c7f4e9a1b3d5e601acde0294582a2e4fd460d953e233a7926d4bed4e6c61f3f
Serving adapter over unsloth/llama-3.2-1b-instruct:v1, rank 16
Artifact s3://optimize-models/adapters/2c7f4e9a1b3d5e601acde0294582a2e4fd460d953e233a7926d4bed4e6c61f3f/
Modules q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
A version registered from a snapshot also has a Snapshot line:
akka optimize registry models get triage/llama-3.2-1b-instruct:v3
Version triage/llama-3.2-1b-instruct:v3
Digest sha256:7a3c5e9b1d2f4068a1c3e5b7d9f1a3c5e7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7
Registered 120m ago
Lifecycle active
Base model unsloth/llama-3.2-1b-instruct:v1
Parent base model unsloth/llama-3.2-1b-instruct:v1
Produced by run 2c7f4e9a1b3d5e601acde0294582a2e4fd460d953e233a7926d4bed4e6c61f3f
Snapshot aaaa1111bbbb, engine step 60, run step 60; swept trainingState 40m ago
Serving adapter over unsloth/llama-3.2-1b-instruct:v1, rank 16
Artifact s3://optimize-models/adapters/9999888877776666555544443333222211110000aaaabbbbccccddddeeeeffff/
Modules q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
Artifact digest 3b9e1f7c5a2d4e6081b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1a3c5e7b9d1f3a5c7 sha256_of_files
Read Produced by for the run, Parent for the base version and for the version the run started from, which the registry names warm-start, and Snapshot for an earlier saved adapter. Compare Artifact digest with imported files when needed.
Read the Parent base version to find its pinned repository commit in Revision:
akka optimize registry models get BASE_NS/BASE_NAME:vN
akka optimize registry models get BASE_NS/BASE_NAME:vN -o json --jq .servingModel.revision
A base model version names one repository at one commit. A different commit is a separate version. The text output shortens the commit; the JSON field gives it in full.
For a combined view, read the model directory:
akka optimize models get NS/NAME:vN
The Training table shows the producing run, its phase and its dataset. The Scores table shows the newest score for each dataset and grader. The serving detail lists endpoints that serve the version.
Read the run and its dataset
Use the run ID from Produced by:
akka optimize training runs get RUN_ID
akka optimize training runs get RUN_ID --settings
akka optimize training runs get RUN_ID -o json
Read Dataset for the exact training version and Config under --settings for the configuration hash. Model names the final result; Snapshot version names earlier registered saves. Use -o json for full baseModelRevision and configHash values.
Read the dataset version from the run’s Dataset line:
akka optimize registry datasets get DATA_NS/DATA_NAME:vN
Digest identifies the dataset content. The detail also gives its example count. A dataset version does not change, and the registry keeps it when you remove an alias.
Read the evaluations and their answers
List evaluations of the model version, then read each evaluation you need to show:
akka optimize training evaluations list --model NS/NAME:vN --archived
akka optimize training evaluations get EVALUATION_ID
akka optimize training evaluations get EVALUATION_ID -o json
akka optimize training evaluations report EVALUATION_ID
akka optimize training evaluations predictions EVALUATION_ID
The --archived option includes evaluations whose training projects are archived. In the detail, Model and Dataset name the exact versions resolved for the evaluation. Moving an alias later does not change them. With -o json, baseModelRevision gives the base model commit.
In the report, Grader names the grader’s key. With report EVALUATION_ID -o json, read it as graderKey. The key identifies the grader as follows:
-
A
model:grader names the judge’s exact version. If you supplied grader instructions, the key also records the first 16 characters of their digest. -
A
bundle:grader names the scoring bundle’s exact version. -
An
http:grader names a URL. Optimize cannot pin what answers there. What the service at that address did is outside Optimize’s record.
Use predictions -o json for full expected and actual answers, calls and scores.
Repeat an evaluation
Name the model and dataset by exact version, and use the grader you want to compare:
akka optimize training evaluations start --model NS/NAME:vN --dataset DATA_NS/DATA_NAME:vN --grader GRADER --wait
For a model: grader, name its exact version. If the earlier evaluation used custom instructions, supply them again with --grader-instructions. See The judge’s instructions.
Compare the new evaluation’s model, dataset, grader, base commit, answers, and scores with the earlier evaluation. Repeated evaluations can report slightly different confidence intervals for the same answers. See Evaluate a model.
Serve the registered version again
Deprecating or retiring a version does not remove it. Training, evaluations and test endpoints can still use it. See Deprecate and retire a version.
To test that version again, create an endpoint:
akka optimize training endpoints create --model NS/NAME:vN
The endpoint loads the version from its registered descriptor. See Endpoints.
For production traffic, see Exposing and calling models.