Automatic Speech Recognition
Transformers
PyTorch
TensorFlow
JAX
Safetensors
whisper
audio
hf-asr-leaderboard
Eval Results (legacy)
Instructions to use openai/whisper-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/whisper-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="openai/whisper-medium")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("openai/whisper-medium") model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
add special tokens for fast
1a6b15d -
add timestamp tokens (#22)
- add timestamp tokens (76f0fca558b5954260e1d5a61b842d4652857fe6)e8c4fa7
-
Adding `safetensors` variant of this model (#18)
- Adding `safetensors` variant of this model (0b4ef15caee188beb48ca91fe503496c37a49b7b) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>edffa06
-
Adding `safetensors` variant of this model (#21)
- Adding `safetensors` variant of this model (47bf24d94ab480c7bee35d383e8f04882e1aaff7) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>7c172ed
-
Update generation config with word-level alignment heads (#20)
- Upload config (b1c43c2aa9a9bfe7f60885e56d7291f05dc45781)ad14d5b
-
Update README.md
8b6593e -
Update README.md
692ba36
-
Update generation_config.json to suppress task tokens (#14)
- Update generation_config.json to suppress task tokens (6bf5da9e7bb66c40cae1c63c2ba92bb84d6e88bc) Co-authored-by: Guillaume Klein <guillaumekln@users.noreply.huggingface.co>b5ad047 -
Update config.json to suppress task tokens (#13)
- Update config.json to suppress task tokens (72ceac5f2f2e6e39805e7258001c40a86fe44972) Co-authored-by: Guillaume Klein <guillaumekln@users.noreply.huggingface.co>ba4c731
-
Update the pad token (#12)
- Update the pad token (a1e2f26da25775b14466feec02888ab965f2f64d) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>f1457a2
-
Add Flax weights
sanchit-gandhi0d49445
-
Update README.md
409c908
-
change hebrew code from iw (deprecated) to he (#8)
- change hebrew code from iw (deprecated) to he (106e8e1eaa5586609eeea0529217813730d8611c) Co-authored-by: Altryne <altryne@users.noreply.huggingface.co>8050949
-
Update README.md (#9)
- Update README.md (5cf384bc2234743b25e1c94d60c8dd261247062b)18af65e
-
missing bracket (#2)
- missing bracket (1cc5af76dbb528e27f1038f79cf7adf12b7b1e0c) Co-authored-by: Robert Maier <rm567@users.noreply.huggingface.co>18b1956 -
Changes for fast tokenizer (#7)
- Update tokens (7fa2c369b6be7766bb56a0446db6acd0946f5e6d) - Add tokenizer.json (40290b8a58806e23cab99957faef69f015e9dc19) Co-authored-by: Jonatan Kłosko <jonatanklosko@users.noreply.huggingface.co>bca8750
-
Upload config
eb2e18b
-
Allow single quotes "'" and hyphens "-" (#5)
- Allow single quotes "'" and hyphens "-" (12048374d0c32ef410bd0ee3aa0788568b5979c6) Co-authored-by: Sanchit Gandhi <sanchit-gandhi@users.noreply.huggingface.co>a0b3589
-
add CV11 hi results
3643ef4 -
Fix imports in multilingual examples (#3)
- Fix imports in multilingual examples (278e5c7449a693b7bf442675016dd7c1d7527242) Co-authored-by: Sanchit Gandhi <sanchit-gandhi@users.noreply.huggingface.co>1cdb8bb -
Update citation (#4)
- Update citation (bdf49ef4b86a4b810980c5ed802ccc0ffb90ca36) Co-authored-by: Sanchit Gandhi <sanchit-gandhi@users.noreply.huggingface.co>6014a2d
-
Update `max_length` param
5c5b7f5 -
Update `return_mask` param
0fd0ae7
-
Add TF weights (#1)
- Add TF weights (83301bbc16683580195c364b3c64c573ab6c9125)ef26027 -
Update README.md
3aafc0f -
Create README.md
b1c4146
-
Upload tokenizer
79bcda3 -
Upload config
5cc9935 -
Upload tokenizer
1c30ae2 -
Upload config
19cd529 -
Upload tokenizer
1cf2bca -
Upload config
842cb3e -
Upload tokenizer
5909abe -
Upload config
ed6a0eb -
Upload tokenizer
6db746a -
Upload config
c4c1555
-
Upload processor
65f3e6b -
Upload config
2999dd0 -
Upload processor
1a62a35 -
Upload config
697e2c3 -
Upload processor
6d674c3 -
Upload processor
fbef092 -
Upload config
3288e28
-
Upload tokenizer
9fd1db2
-
Upload tokenizer
967e414 -
Upload WhisperForConditionalGeneration
1105596 -
Upload tokenizer
664664f -
Upload WhisperForConditionalGeneration
3ec6ce2 -
Upload processor
e07d02b -
Upload config
24d9f73