Resources/Model training/Trying and serving a model

Best practice

Archiving runs

Archiving hides a dataset, prep, model or evaluation from day-to-day lists and pickers without deleting anything, so the record of what was tried — and why it lost — stays available and can be restored.

Chapter 93 min read3 references

What it is

Model work is experimental. A typical cycle tries several learning rates, a couple of base models and a few versions of the dataset, then evaluates each result, sometimes more than once. After a few weeks there are dozens of runs, and only one or two matter day to day. The rest clutter every list and every picker, and make it easy to pick the wrong model by accident.

Deleting them is tempting, but it destroys the most useful information an experiment produces: what was tried, and why it lost. That record is what stops a team from rerunning the same failed idea three months later. Archiving is the middle ground: the item stays intact, but leaves day-to-day view.

Archive · reversible
Activein lists, pickers and charts⇄Archivedon the Archive page; files, weights and results untouched

Archive and Restore only hide and show the item. Spend still counts the item, and its lineage still shows in the models built from it.

Delete · permanent
Activein lists, pickers and charts→Gonerecord and history lost

Nothing to restore and nothing to learn from later: the record of what was tried disappears with it.

Archiving moves an item out of day-to-day view and back again without touching it. Deleting is the only one-way door.

How it works

  • Hidden, not changed. Archiving hides the item and notes when and by whom. Nothing is deleted or rewritten: data files, provider jobs, trained weights and evaluation answers stay as they were.
  • Out of lists and pickers. An archived dataset isn't offered for a new data prep; an archived prep isn't offered for training; an archived model doesn't appear in Train, Evaluate or Test chat and can't be the starting point for continued training. An old link can't start a job from an archived item either.
  • Out of the charts, not out of the bill. The dashboard leaves archived models and evaluations out of the leaderboard and quality charts, and shows how many items are archived. Spend still counts them, because the money was spent either way.
  • Readable and restorable. From the Archive page, an archived item opens as it was, with a banner and a Restore button. Once restored, the item returns to every list unchanged.
  • Not while running. A training job, a data prep in progress or an evaluation being judged can't be archived. Finish or cancel it first.
ArchiveDelete
Record keptYesNo
Visible anywhereOn the Archive pageNo
ReversibleYes (Restore)No
Counts in spendYesNo

Lineage stays intact

Models are often built on each other: a preference run continues from a supervised run, which continued from an earlier one. Archiving a parent hides it from pickers, not from history. A model continued from an archived model still shows where it came from, and its evaluation still compares against that parent. This is the same principle research teams use for reproducibility: keep the full trail from data to result, even for the experiments that didn't make it.

Worked example: tidying after a tuning sweep
  1. You trained ten variants of one model: three learning rates, two base models, and two dataset versions.
  2. Evaluations show a clear winner and a close runner-up. Keep both visible.
  3. Archive the other eight models together with their evaluations, so the dashboard's best-model chart only compares live candidates.
  4. The older dataset version has been replaced by a better one. Archive it and its preps too, so nobody trains on it by mistake.
  5. Three months later someone asks: “Did we try a higher learning rate?” The Archive has the run, its settings and the evaluation that shows why it lost.

When to delete instead

Archive by default; delete deliberately. Deleting makes sense when keeping the item is itself the problem — for example, a dataset that should never have contained certain personal data. Note that archiving doesn't stop costs that continue on their own, such as a dedicated deployment: end those separately.

Common mistakes

  • Deleting losing runs and later repeating the same experiment because nobody remembers it failed.
  • Archiving a model but not its evaluations, so the dashboard still ranks it.
  • Leaving superseded datasets visible, so a new run is trained on the old version by mistake.
  • Expecting archived items to disappear from spend: the money was spent either way.

References and further reading

External sources open in a new tab.

  1. 01Improving Reproducibility in Machine Learning Research (A Report from the NeurIPS 2019 Reproducibility Program)Pineau et al., 2020 · arXiv · arxiv.orgWhy keeping the full record of experiments, including failed ones, matters.
  2. 02Hidden Technical Debt in Machine Learning SystemsSculley et al., 2015 · NeurIPS · papers.nips.ccThe classic paper on how ML systems accumulate hidden complexity, including untracked experiments and data dependencies.
  3. 03MLflow TrackingMLflow docs · mlflow.orgA widely used open-source tool for recording runs, parameters and results.

Turn weeks of expert work into minutes

See how Scalata fits your team, your data, and your controls.