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
Update README.md
Browse files123 unmodified lines1241251261271281291307 unmodified lines138139140141142143144161 unmodified lines306307308309310311312123 unmodified linesmetrics:- name: Test WERtype: wervalue: 7,639504403417127- task:name: Automatic Speech Recognitiontype: automatic-speech-recognition7 unmodified linesmetrics:- name: Test WERtype: wervalue: 17,145720661094513pipeline_tag: automatic-speech-recognitionlicense: apache-2.0---161 unmodified lines>>> result = librispeech_eval.map(map_to_pred, batched=True, batch_size=1, remove_columns=["speech"])>>> print("WER:", wer(result["text"], result["transcription"]))0.07639504403417127```123 unmodified lines1241251261271281291307 unmodified lines138139140141142143144161 unmodified lines306307308309310311312123 unmodified linesmetrics:- name: Test WERtype: wervalue: 0.07547098647858638- task:name: Automatic Speech Recognitiontype: automatic-speech-recognition7 unmodified linesmetrics:- name: Test WERtype: wervalue: 0.17145720661094513pipeline_tag: automatic-speech-recognitionlicense: apache-2.0---161 unmodified lines>>> result = librispeech_eval.map(map_to_pred, batched=True, batch_size=1, remove_columns=["speech"])>>> print("WER:", wer(result["text"], result["transcription"]))0.07547098647858638```
README.md+3-3