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, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("openai/whisper-medium") model = AutoModelForMultimodalLM.from_pretrained("openai/whisper-medium") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
| 40 |
"model_type": "whisper",
|
| 41 |
"num_hidden_layers": 24,
|
| 42 |
"num_mel_bins": 80,
|
| 43 |
-
"pad_token_id":
|
| 44 |
"scale_embedding": false,
|
| 45 |
"suppress_tokens": [
|
| 46 |
1,
|
|
|
|
| 40 |
"model_type": "whisper",
|
| 41 |
"num_hidden_layers": 24,
|
| 42 |
"num_mel_bins": 80,
|
| 43 |
+
"pad_token_id": 50257,
|
| 44 |
"scale_embedding": false,
|
| 45 |
"suppress_tokens": [
|
| 46 |
1,
|