Lesson 28.3 · 3 of 7 · 5 min read · Reviewed 24 Nov 2026
Reading a model card and benchmarks
By the end, you can
- Read a model card critically.
- Interpret benchmark results with care.
What a good model card covers
| Section | What to look for |
|---|---|
| Intended use | What it’s designed for, and what it’s not for |
| Training data | Sources, languages, cut-off date, known gaps |
| Evaluation | Which benchmarks, how they were run, any human evals |
| Limitations | Known failure modes, biases, unsafe areas |
| Prompt format | The chat template or special tokens it expects |
| Context length | Maximum input it supports |
| Licence | Terms of use (28.2) |
Model cardsModel card: A document describing a model’s intended use, training data, evaluations, limitations and licence. were proposed as a reporting standard in 2018 and are now common on model hubs.
Reading benchmarks
- Contamination: if test questions leaked into training data, scores overstate ability.
- Setup matters: few-shot vs zero-shotZero-shot prompting: Asking a model to do a task with instructions only, without examples., prompt wording and scoring rules change results.
- Narrow tasks: a maths benchmark says little about customer support.
- Saturation: when every model scores 90%+, the benchmark no longer separates them.
Your own eval wins
Build a small evalEval: A repeatable test that measures how well an AI system performs on a set of cases with defined success criteria. from real examples (Part 3) and run each candidate on it. Track quality, speed and cost on your hardware or host. This usually reorders the leaderboard.
Watch the template
Open modelsOpen-weight model: A model whose trained weights are published so you can download, run and fine-tune it yourself. need the right chat template (the special tokensToken: The unit a model reads and writes: a word, part of a word, a space or a symbol, mapped to an integer id. around system, user and assistant turns). The wrong template quietly degrades quality, and inference servers usually apply it for you (30.3).
Key points
- A model card describes what a model is for, how it was trained, how it scored, and its known limits.
- Benchmarks give a rough comparison, but scores can be inflated by test data leaking into training.
- Benchmark tasks rarely match your task, so treat them as a shortlist tool.
- The deciding test is your own eval set run on your own prompts.
Check a model card and rerank candidates
Check model cards for the sections you need and see how your own eval reorders a public leaderboard.
You will have: A script that lists missing model card sections and prints two rankings: by benchmark and by your eval.
Steps
- Read the three mock model cards, stored as dictionaries.
- List any required section each card is missing, such as licence or chat template.
- Rank the candidates by public benchmark score.
- Rank them again by score on your own eval set and print both rankings.
- Write down which candidate you would shortlist and why.
Done when
- The script reports that one card has no chat template section.
- The benchmark ranking and your eval ranking differ.
- The top pick by your eval is printed with its score.
Open in the Playground No API key needed.
Starter code (Python)
REQUIRED = ["intended_use", "training_data", "evaluation", "limitations", "chat_template", "context_length", "licence"]
CARDS = {
"model-a-70b": {"intended_use": 1, "training_data": 1, "evaluation": 1, "limitations": 1, "chat_template": 1, "context_length": 1, "licence": 1, "bench": 88, "mine": 81},
"model-b-8b": {"intended_use": 1, "evaluation": 1, "chat_template": 1, "context_length": 1, "licence": 1, "bench": 91, "mine": 62},
"model-c-14b": {"intended_use": 1, "training_data": 1, "evaluation": 1, "limitations": 1, "context_length": 1, "licence": 1, "bench": 84, "mine": 78},
}
def missing_sections(card):
# TODO: return the REQUIRED sections the card lacks
return []
for name, card in CARDS.items():
print(name, "missing:", missing_sections(card))
# TODO: print the ranking by "bench" and by "mine"
Show a solution
REQUIRED = ["intended_use", "training_data", "evaluation", "limitations", "chat_template", "context_length", "licence"]
CARDS = {
"model-a-70b": {"intended_use": 1, "training_data": 1, "evaluation": 1, "limitations": 1, "chat_template": 1, "context_length": 1, "licence": 1, "bench": 88, "mine": 81},
"model-b-8b": {"intended_use": 1, "evaluation": 1, "chat_template": 1, "context_length": 1, "licence": 1, "bench": 91, "mine": 62},
"model-c-14b": {"intended_use": 1, "training_data": 1, "evaluation": 1, "limitations": 1, "context_length": 1, "licence": 1, "bench": 84, "mine": 78},
}
def missing_sections(card):
return [s for s in REQUIRED if s not in card]
for name, card in CARDS.items():
print(f"{name:12} missing: {', '.join(missing_sections(card)) or 'nothing'}")
by_bench = sorted(CARDS, key=lambda n: -CARDS[n]["bench"])
by_mine = sorted(CARDS, key=lambda n: -CARDS[n]["mine"])
print("by benchmark:", " > ".join(by_bench))
print("by your eval:", " > ".join(by_mine))
top = by_mine[0]
print(f"shortlist: {top} (your eval {CARDS[top]['mine']})")