Automatic Speech Recognition
Transformers
PyTorch
TensorFlow
JAX
Safetensors
whisper
audio
hf-asr-leaderboard
Eval Results (legacy)
Instructions to use openai/whisper-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/whisper-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="openai/whisper-tiny")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("openai/whisper-tiny") model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Correct long-form generation config parameters 'max_initial_timestamp_index' and 'prev_sot_token_id'.
Verified signatureHey openai 👋, Your model repository seems to contain outdated generation config parameters, such as 'max_initial_timestamp_index' and is missing the 'prev_sot_token_id' parameter. These parameters need to be updated to correctly handle long-form generation as stated in as part of https://github.com/huggingface/transformers/pull/27658. This PR makes sure that everything is up to date and can be safely merged. Best, the Transformers team.d7840ba
-
Update generation config with word-level alignment heads (#29)
- Upload config (ccda8cc8b137d58877e2235411384d4c6c90cfaf)1135fb8
-
Update generation_config.json to suppress task tokens (#11)
- Update generation_config.json to suppress task tokens (a02ea394f9cbca9b496cd8d351d0ed4c2f8edbb5) Co-authored-by: Guillaume Klein <guillaumekln@users.noreply.huggingface.co>79aace4
-
Update the pad token (#9)
- Update the pad token (c81434a0bf5416d998ca052af9a59d54987341c5) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>a8d7651
-
Add Flax weights
sanchit-gandhi3025605
-
change hebrew code from iw (deprecated) to he (#6)
- change hebrew code from iw (deprecated) to he (2f637251702bb9799886af508a2863d3584bbb1a) Co-authored-by: Altryne <altryne@users.noreply.huggingface.co>42189de
-
Update generation_config.json
bfeb067 -
Upload config
d2f590b