Variance — Large language model evaluation | variance-inc.com
Turn a real task into representative inputs, reference answers, explicit grading rules and comparable results.
A useful evaluation starts with a task you actually have, not with a benchmark. Write one sentence describing what goes in and what comes out. If the sentence is vague, the test will not be comparable across runs, because two people will grade the same output differently.
Collect inputs that resemble real requests, including the awkward ones. A form with a missing field, a message with a typo, a document with a table inside a table: these are the cases where models differ. Choose each input for a reason you can name, and keep the set small enough that you can inspect every result.
For each input, write the expected answer or the acceptance rule before you see any model output. OpenAI describes evaluations as tests of model outputs against specified style and content criteria, using test inputs, graders and analysis followed by iteration. The order matters: criteria first, then the run.
If the task has a single correct label, an exact-match grader can compare the output with a human-supplied reference label. If several answers are acceptable, write a rubric and name the person who applies it. A rubric that lives only in someone's head is not a grading rule.
Before running, check token accounting. A language model generates the next token from the prompt and prior generated output, stopping at a configured length or an end-of-sequence token. If your expected answer is long and the output limit is short, you will measure truncation, not quality.
Run the same inputs more than once. Hugging Face distinguishes greedy decoding from sampling; greedy tends to be stable, sampling can vary. If a failure appears only under sampling, that is a finding about reliability. Report it as such rather than averaging it away.
On narrow screens, swipe or scroll the plate sideways.
Write down failures as they happen: input, output, violated criterion and decoding mode. A failure you cannot reproduce is a failure you cannot fix. Over time this list becomes more useful than any single score, because it records the failure cases you have already seen.
Summarize per task. For each test card, report passes, failures and the pattern behind the failures. A model that fails only on nested tables is a different proposition from one that fails across the board, even if the total pass count is the same.
Keep the test set alive. When a new failure appears in real use, add it as an input. The set grows into a record of your task's hard cases, which is exactly what a generic benchmark cannot give you.
Use provider documentation for current specifics. Context limits, parameter names and defaults change; a test built on a stale summary measures the wrong configuration. Cite the provider's own pages when you write down what you ran.
Finally, separate the prompt from the output before grading. Hugging Face warns that a decoder-only result may include the initial prompt unless code separates it. Grading the prompt as if it were output inflates or deflates results depending on the task.
The goal is not a perfect score. The goal is a decision you can defend: this model, on this task, with these inputs and these criteria, passed these cases and failed these ones, and here is what we will do about the failures.
Further reading