Topic 5 of 5 · 4 min read
Writing a model card before release
Goal: Write a model card that states intended use, evaluation per group and known failure modes for a model.
A model card is a short document that travels with the model and says what it is for, what it learned from, how well it works for each group, where it fails and who owns it. Write it before release, because after release nobody has the time.
Check yourself · 1 of 3
Why does a model card list out-of-scope uses?
Why it matters
Models get reused. A model built to rank support tickets gets borrowed to score job applicants because it is already available. A card states the intended use and the uses to avoid, so the next engineer, the reviewer or an auditor can see the boundary. The card format comes from the paper "Model Cards for Model Reporting", which proposed reporting performance across groups rather than as one average.
What a good card contains
- Model details: name, version, date, type, owner and a contact, plus the run in the tracker that produced it.
- Intended use: the task, the users, and the decisions it supports. Add out-of-scope uses explicitly.
- Training data: source, time range, size, how labels were produced, and known gaps.
- Evaluation data and metrics: the metrics that match the cost of errors, such as recall at a fixed precision, and the test set used.
- Metrics per group: results by relevant segments, such as region, device, language or age band, where the data allows. An overall score can hide a group where the model performs badly.
- Known failure modes and limits: inputs it handles poorly, drift risks, and what happens when it is wrong.
- Monitoring and retraining plan: what is watched, and who is notified.
Before and after
Before: "Churn model v3. Accuracy 91 percent. Ready for use."
After:
## Churn model v3 (2026-12-02), owner: Data team, ml-churn@example.com
Intended use: rank active subscribers for retention calls. Not for pricing or credit decisions.
Training data: subscriptions 2024-01 to 2026-06, label = cancelled within 60 days.
Metrics (test set, 2026-07 to 2026-09): recall at 30% precision = 0.52 overall; 0.55 on
monthly plans, 0.31 on customers with under 3 months of history.
Known failures: new customers, and plans launched after June 2026.
The second version tells the team not to trust scores for new customers.
What goes wrong
- A card written once and never updated, so it describes an older model.
- Only the overall metric, with no per-group breakdown.
- Vague limits such as "may be less accurate in some cases", which help nobody.
- No owner, so no one answers when it fails.
Keep the card in the same repository or registry as the model version, and block release when it is missing.
Examples
A per-group table that changes the decision
A speech-to-text model shows a word error rate of 8 percent overall. The card's per-accent table shows 6 percent for one accent group and 19 percent for another. The team adds a note that the model is not suitable for unreviewed legal transcripts in that setting and plans more training data.
Blocking a release
A release checklist requires a card with an owner, intended use and per-group evaluation. A candidate model has strong test scores but its card lists no owner and no out-of-scope uses. The release waits one day while the team fills these in, and the on-call engineer now knows whom to ask when it misbehaves.
Key points
- A model card states intended use, training data, evaluation, per-group results, known failure modes and an owner.
- List out-of-scope uses explicitly, because models get reused for tasks they were never tested on.
- Report metrics per group, since an overall average can hide a segment where the model does badly.
- Make failure modes concrete: which inputs, how bad, and what the user should do.
- Store the card with the model version and treat a missing or outdated card as a release blocker.
Common mistakes
- Writing only an overall metric and no per-group results.
- Describing limits in vague terms such as "may be less accurate in some cases".
- Leaving out-of-scope uses blank, so anyone can adopt the model for anything.
- Not updating the card when the model is retrained.
Check yourself · 2 of 3
A model has 90 percent overall accuracy. Why should the card also show results per group?
Check yourself · 3 of 3
Which sentence is the most useful known-failure statement in a model card?
Practice items, not counted towards your mastery.
Start here
- Google: Rules of Machine Learning (opens in a new tab)ArticleFree
Practical rules from Google engineers on pipelines, monitoring, skew and launching models.
- Hidden Technical Debt in Machine Learning Systems (opens in a new tab)PaperFree
Why ML systems accumulate debt in data dependencies, glue code and feedback loops.
- MLflow documentation (opens in a new tab)DocsFree
How to log parameters, metrics, artefacts and model versions so runs can be compared and rebuilt.
More for this topic
- Model Cards for Model Reporting (Mitchell et al.) (opens in a new tab)PaperFree
The original proposal for model cards: intended use, per-group evaluation and caveats.