Skip to content

Instantly share code, notes, and snippets.

@zilunpeng
Created March 23, 2021 22:23
Show Gist options
  • Save zilunpeng/db8a3f8d81736f65f510268c78568d29 to your computer and use it in GitHub Desktop.
Save zilunpeng/db8a3f8d81736f65f510268c78568d29 to your computer and use it in GitHub Desktop.
Calculate WER score. Code below is part of the distributed inference notebook (https://git.io/JYeQQ).
from jiwer import wer
wer_score = wer(ground_truths, predictions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment