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 +5 -1
config.json
CHANGED
|
@@ -22,10 +22,14 @@
|
|
| 22 |
"forced_decoder_ids": [
|
| 23 |
[
|
| 24 |
1,
|
| 25 |
-
|
| 26 |
],
|
| 27 |
[
|
| 28 |
2,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
50363
|
| 30 |
]
|
| 31 |
],
|
|
|
|
| 22 |
"forced_decoder_ids": [
|
| 23 |
[
|
| 24 |
1,
|
| 25 |
+
50259
|
| 26 |
],
|
| 27 |
[
|
| 28 |
2,
|
| 29 |
+
50359
|
| 30 |
+
],
|
| 31 |
+
[
|
| 32 |
+
3,
|
| 33 |
50363
|
| 34 |
]
|
| 35 |
],
|