Training projects
A training project represents one task. Use it to group the runs and models for that task. It specifies the evaluation dataset and grader for every candidate.
Create a training project
To create a training project, run the following command:
akka optimize training projects create triage --dataset triage/eval --grader json-label-match
To read a training project or list projects, use the following commands:
akka optimize training projects get triage
akka optimize training projects list
The list shows the projects, newest first, and leaves archived projects out. akka optimize training projects list --help names the filters and orders it takes.
A training project’s name is the registry namespace where every model trained by the project is registered. The name is set when you create the project and does not change. It follows the registry’s naming rules: 1 to 64 characters of lowercase letters and digits, separated by ., _ or -. It must not have the form of an ID, and it cannot be counts. To describe a project, use training projects annotate.
Evaluation settings
The evaluation dataset and grader define how candidates for the task are compared. The training projects scores command tabulates evaluations that use both values. An evaluation specifies its own dataset and grader, so pass the project’s values when you start one.
Set the evaluation settings when you create the training project, or set them later:
akka optimize training projects set-evaluation triage --dataset triage/eval --grader json-label-match
Score comparisons require the same dataset and grader. Changing either value resets the default comparison table in training projects scores. To read scores from the previous settings, pass --dataset and --grader to scores.
If the project uses a model grader with --grader-instructions, pass the same grader and instructions to each evaluation you want to compare. The project does not apply them automatically. To read scores under other instructions, copy the grader key from the score table into scores --grader.
For the grader kinds, see Graders and rewards.
Models
A run registers its model in the training project’s namespace. Use modelName to choose the name; it defaults to the base model’s name. Set different names for models with different purposes, such as a judge and a policy.
Use an alias such as champion to record which version of a named model you chose. Nothing in Optimize acts on it. Routing names one version and refuses an alias because it can move. See Record a choice with an alias.
History
Optimize records every change to a training project’s evaluation settings and description. Read the history with training projects history.
The following example shows project history. Your project details and relative times differ.
akka optimize training projects history triage
WHEN CHANGE DETAIL
3d ago created triage, scored on triage/eval:v1 under json-label-match
2d ago annotated Support message intents
120m ago evaluation-set triage/eval:v2 under json-label-match
Scores
Use training projects scores to compare the newest evaluation of each configuration in the training project with the baselines. Each block names a base model version, such as unsloth/llama-3.2-1b-instruct:v1. It uses the project’s evaluation settings. The --config-name option on a run, or training runs annotate, heads the configuration’s row.
The following example shows project scores. Your run IDs and scores differ.
akka optimize training projects scores triage
Project triage
Dataset triage/eval:v1
Grader json-label-match
Base model unsloth/llama-3.2-1b-instruct:v1 (unsloth/Llama-3.2-1B-Instruct) — baseline 0.4100
lr-2e-4 2c7f4e9a1b3d step 60 0.7900, 0.8600
Archive a training project
Archive a project when you no longer need to submit work to it. Archived projects and their work leave the default lists, and new submissions are refused until you unarchive the project.
akka optimize training projects archive triage
akka optimize training projects unarchive triage
Before archiving, finish or cancel the project’s runs, evaluations, distillations, and open pipelines, and delete its endpoints. Paused runs also prevent archiving. A refusal names the work that remains.
The training projects get command still reads an archived project, and its models can still be referenced. To include archived projects in a list, pass --archived. The runs, evaluations, distillations and endpoints lists also take --archived, and --project naming an archived project lists its rows. A list marks a row of an archived project (archived).
Archive the registry namespace separately if needed. Before training again, unarchive both the project and its namespace.