Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are the settings used for WER calculation in the paper? #65

Open
hidoba opened this issue Dec 20, 2023 · 1 comment
Open

What are the settings used for WER calculation in the paper? #65

hidoba opened this issue Dec 20, 2023 · 1 comment

Comments

@hidoba
Copy link

hidoba commented Dec 20, 2023

Did you compare Whisper-large2 and distil-whisper on Transformers default settings (beam-size = 1, temperature = 1, do_sample = False)?

What would be the difference if you've used Open-ai settings (beam-size = 5)?

@sanchit-gandhi
Copy link
Collaborator

sanchit-gandhi commented Jan 15, 2024

Yes, we evaluated using greedy search with no sampling. For beam size = 5, we see the following (with the abs WER reduction vs greedy):

Whisper-Large-v2 with num_beams=5

  • CHIME-4: 11.8 (-0.0 WER abs)
  • Earnings-22: 16.0 (-0.6 WER abs)
  • FLEURS: 3.9 (-0.3 WER abs)
  • SPGISpeech: 3.3 (-0.5 WER abs)

Distil-Whisper with num_beams=5

  • CHIME-4: 13.4 (-0.6 WER abs)
  • Earnings-22: 16.4 (-0.5 WER abs)
  • FLEURS: 6.1 (-0.2 WER abs)
  • SPGISpeech: 3.2 (-0.1 WER abs)

Relative speed-up of Distil-Whisper to Whisper for increasing batch size (bsz):

  • bsz=1: 5.5
  • bsz=4: 5.21
  • bsz=16: 3.01

=> speed-ups are very similar to what we achieved without beam search

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

No branches or pull requests

2 participants