LESSON 14.02 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
Overlap metrics: exact match, F1, BLEU and ROUGE
Watch four scores count the words a model output shares with a reference.
Needs14.01 Perplexity
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 14.02 · SCORE BAYEM 0 · 7 VS 6 WORDS
01
Stage 1 of 6 · Exact match
Exact match scores 1 only if the whole candidate equals the reference. Here it scores 0.
Explain it simply
The top row is the reference, the answer a person wrote. The bottom row is the candidate, the output of a model. Exact match asks one question: is the whole string the same? One different word drops the score from 1 to 0.
Two rows of word cells. The reference is the cat sat on the mat. The candidate is a cat was sitting on the rug. Exact match is 0.
referencecandidate, matchclippedno matchbrevity penalty
Toy: 1 reference of 6 words, 5 candidates
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Exact match is 1 if the two strings are equal, else 0.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 2 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.