Skip to content

Commit

Permalink
Update evaluation.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgwasira authored Oct 15, 2024
1 parent 2815ff2 commit 28e3001
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapters/en/chapter5/evaluation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ In our example, we have 1 character substitution, 0 insertions, and 3 deletions.
$$
\begin{aligned}
CER &= \frac{S + I + D}{N} \\
&= \frac{1 + 0 + 3}{14} \\
&= 0.286
&= \frac{1 + 0 + 3}{17} \\
&= 0.235
\end{aligned}
$$

Right! We have a CER of 0.286, or 28.6%. Notice how this is lower than our WER - we penalised the spelling error much less.
Right! We have a CER of 0.235, or 23.5%. Notice how this is lower than our WER - we penalised the spelling error much less.

## Which metric should I use?

Expand Down

0 comments on commit 28e3001

Please sign in to comment.