Contents
Test on your tasks
Generic leaderboards tell you how a model performed on someone else's questions. This workbench shows how to turn your own task into a small, repeatable test with explicit pass criteria, so the result you see is the result that matters to you.
A benchmark rank describes performance on the benchmark's task and data, not on yours.
A public ranking aggregates results over a fixed set of prompts and a fixed grading method. If your task is extracting line items from supplier invoices, a rank built on trivia questions or general chat prompts tells you very little about that task.
The gap is not only topic. It is also format, length, vocabulary, tolerance for errors and what counts as a good answer. A model that scores well on short factual questions may fail on a long form with nested fields, or the reverse.
The practical fix is to build a small test set from your own inputs, write down what a correct output looks like, and grade against that. The ranking can stay as a starting shortlist, but the decision comes from your test.
A useful test set is small, documented and tied to one task at a time.
Start with one task and describe it in a sentence: what goes in, what comes out, and what makes the output acceptable. Then collect inputs. Ten to thirty well-chosen inputs usually reveal more than a thousand random ones, because each input is there for a reason you can name.
For each input, write the expected answer or the acceptance rule. If the task has a single correct label, an exact-match grader can compare the model output with the human-supplied reference label. If the task allows several good answers, write a rubric instead and say who applies it.
Keep the criteria visible next to the inputs. A test whose pass rule is invented after seeing the output is not a test; it is a rationalization.
Token accounting explains many apparent quality failures before you blame the model.
A language model generates the next token from the prompt and the prior generated output, stopping at a configured length or an end-of-sequence token. That single sentence explains most length surprises: the model does not know your intended length unless the prompt or the configuration says so.
The context window is the text a model can reference while generating a response, including the response itself. It is not the training corpus. Prompts, messages, tool results, documents, tool definitions and generated output can all consume context, and the exact inclusion varies by provider and model.
Generation-length controls such as max_new_tokens limit how much new text is produced. With a decoder-only model, a result may include the initial prompt unless your code separates it, so check what you are actually reading before you grade it.
A generic rank is a prior, not a result for your data.
Write down failures as they happen; a failure you cannot reproduce is a failure you cannot fix.
| Element | Example quantity | Why it matters |
|---|---|---|
| Task | 1 task | Keeps inputs, criteria and failures comparable across runs. |
| Expected answer | 1 expected answer | An exact-match grader needs a human-supplied reference label. |
| Model output | 1 output | The thing you actually grade, separated from the prompt. |
| Decoding modes | 2 decoding modes | Greedy and sampling can show different failure patterns. |
| Context budget | 1 context window | Prompt, inputs and output share one budget; overflow truncates. |
| Output limit | 1 max_new_tokens setting | A length control, not a quality score. |
| Failure note | 1 failure entry | Input, output, violated criterion and mode, written at the time. |
One run is an anecdote; a repeatable run with written failures is a measurement.
Run the same inputs through the model more than once, and compare greedy decoding with sampling. Greedy decoding tends to be stable; sampling can vary. If a failure appears only under sampling, that is a finding about reliability, not noise to be averaged away.
Write down failures as they happen: the input, the output, the criterion it violated, and the decoding mode. A failure you cannot reproduce is a failure you cannot fix, and a failure you did not write down tends to disappear from the discussion.
For risk, use NIST AI 600-1 as a voluntary cross-sectoral companion to AI RMF 1.0, published July 26, 2024, to structure scoped use, measurement, documentation, human review and ongoing checks. The framework does not certify a model or guarantee safety; this site offers an educational checklist, not compliance certification.
A defensible decision names the task, the inputs, the criteria and the observed failures.
Summarize per task, not per model. For each test card, report how many inputs passed, how many failed, and what the failures had in common. A model that passes 18 of 20 invoice extractions with two failures on nested tables is a different proposition from one that passes 12 of 20 across the board.
Keep the test set alive. When a new failure appears in real use, add it as an input. Over time the test set becomes a record of the failures you have already seen, which is more useful than a score.
If you need current provider specifics such as context limits or generation parameters, cite the provider's own documentation rather than a third-party summary. Those details change, and a test built on stale assumptions measures the wrong thing.
Provider documentation and NIST publications are cited for definitions and current specifics; check the provider's own pages for limits and parameters.