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")# 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
Download vocab.json from openai/whisper-medium: direct link, hf CLI and curl.
- Browser
- Download file 836 kB
-
https://huggingface.co/openai/whisper-medium/resolve/main/vocab.json
- Command line
-
hf download hf://openai/whisper-medium/vocab.json
-
curl -L -o vocab.json https://huggingface.co/openai/whisper-medium/resolve/main/vocab.json
836 kB
File too large to display, you can check the raw version instead.