SQuAD
Benchmarks shape what a field works on, and for reading comprehension one dataset did most of that shaping. SQuAD — the Stanford Question Answering Dataset — pairs a paragraph from Wikipedia with questions whose answers are spans of text inside it, so a model does not generate an answer but points at one.
What the task looks like
Each example gives a passage, a question written by a crowdworker who read that passage, and the answer marked as a start and end position in the text. That design makes scoring mechanical.
- Exact match: the fraction of predictions identical to a reference answer after normalising case, articles and punctuation.
- Token-level F1: the overlap between predicted and reference tokens, giving partial credit when a model catches "1928" but drags in an extra word.
- Several human answers per question in the evaluation sets, so a prediction is scored against the best match.
Why version 2.0 exists
SQuAD 1.1 guarantees the answer is present, which lets a model succeed by locating the most question-like sentence rather than by judging whether the passage answers anything. SQuAD 2.0 adds over fifty thousand unanswerable questions written to look answerable, and a system must abstain on those. That turned the benchmark from span-finding into a judgement about evidence, and it is why a SQuAD score in a model card, from BERT onwards, reads as shorthand for extractive reading ability. Human performance has been passed on both versions, so the dataset now serves mainly as a fine-tuning target and a sanity check, shipped in Hugging Face Datasets as squad and squad_v2.
SQuAD, the Stanford Question Answering Dataset, is a reading-comprehension benchmark whose answers are spans marked inside a Wikipedia paragraph, scored by exact match and token-level F1. Version 2.0 adds unanswerable questions a system must decline to answer. It matters as the standard yardstick for extractive question answering: a fine-tuning target and the number model cards quote for span-level reading ability. Scores on both versions now sit above the human baseline.
Think of a comprehension test at school: you read a short passage, then answer questions by underlining the exact words that give the answer. No essays, no outside knowledge — just point at the right bit of the text.
SQuAD is that test, written out a hundred thousand times for software. People read Wikipedia paragraphs and wrote questions about them, marking which words answered each one. Because the right answer is a known stretch of text, anyone can measure how often a program gets it exactly right. A later version added questions the passage simply cannot answer, so a good system has to say "not here" instead of guessing — which is a much fairer test of reading.