Skip to content

[Metrics] Add word error metric metric#1847

Merged
patrickvonplaten merged 5 commits intohuggingface:masterfrom
patrickvonplaten:add_wer_metric
Feb 9, 2021
Merged

[Metrics] Add word error metric metric#1847
patrickvonplaten merged 5 commits intohuggingface:masterfrom
patrickvonplaten:add_wer_metric

Conversation

@patrickvonplaten
Copy link
Contributor

@patrickvonplaten patrickvonplaten commented Feb 8, 2021

This PR adds the word error rate metric to datasets.
WER: https://en.wikipedia.org/wiki/Word_error_rate
for speech recognition. WER is the main metric used in ASR.

jiwer seems to be a solid library (see asteroid-team/asteroid#329 (comment))

@patrickvonplaten patrickvonplaten changed the title add word error metric metric [Metrics] Add word error metric metric Feb 9, 2021
Copy link
Member

@lhoestq lhoestq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome thank you !
And thanks for adding the example :)

patrickvonplaten and others added 2 commits February 9, 2021 20:38
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
@lhoestq
Copy link
Member

lhoestq commented Feb 9, 2021

Feel free to merge once the CI is all green ;)

@patrickvonplaten patrickvonplaten merged commit 43b5e40 into huggingface:master Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants