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
Upload config
Browse files- config.json +1 -5
config.json
CHANGED
|
@@ -8,11 +8,7 @@
|
|
| 8 |
"decoder_ffn_dim": 1536,
|
| 9 |
"decoder_layerdrop": 0.0,
|
| 10 |
"decoder_layers": 4,
|
| 11 |
-
"decoder_start_token_id":
|
| 12 |
-
50258,
|
| 13 |
-
50259,
|
| 14 |
-
50359
|
| 15 |
-
],
|
| 16 |
"dropout": 0.0,
|
| 17 |
"encoder_attention_heads": 6,
|
| 18 |
"encoder_ffn_dim": 1536,
|
|
|
|
| 8 |
"decoder_ffn_dim": 1536,
|
| 9 |
"decoder_layerdrop": 0.0,
|
| 10 |
"decoder_layers": 4,
|
| 11 |
+
"decoder_start_token_id": 50257,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"dropout": 0.0,
|
| 13 |
"encoder_attention_heads": 6,
|
| 14 |
"encoder_ffn_dim": 1536,
|