Automatic Speech Recognition
Transformers
PyTorch
TensorFlow
JAX
Safetensors
English
whisper
audio
hf-asr-leaderboard
Eval Results (legacy)
Eval Results
Instructions to use openai/whisper-base.en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/whisper-base.en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="openai/whisper-base.en")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("openai/whisper-base.en") model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-base.en") - Notebooks
- Google Colab
- Kaggle
Commit ·
4e47537
1
Parent(s): 1773a19
Upload config
Browse files- generation_config.json +23 -1
generation_config.json
CHANGED
|
@@ -1,4 +1,26 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"begin_suppress_tokens": [
|
| 3 |
220,
|
| 4 |
50256
|
|
@@ -110,5 +132,5 @@
|
|
| 110 |
50360,
|
| 111 |
50361
|
| 112 |
],
|
| 113 |
-
"transformers_version": "4.
|
| 114 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"alignment_heads": [
|
| 3 |
+
[
|
| 4 |
+
3,
|
| 5 |
+
3
|
| 6 |
+
],
|
| 7 |
+
[
|
| 8 |
+
4,
|
| 9 |
+
7
|
| 10 |
+
],
|
| 11 |
+
[
|
| 12 |
+
5,
|
| 13 |
+
1
|
| 14 |
+
],
|
| 15 |
+
[
|
| 16 |
+
5,
|
| 17 |
+
5
|
| 18 |
+
],
|
| 19 |
+
[
|
| 20 |
+
5,
|
| 21 |
+
7
|
| 22 |
+
]
|
| 23 |
+
],
|
| 24 |
"begin_suppress_tokens": [
|
| 25 |
220,
|
| 26 |
50256
|
|
|
|
| 132 |
50360,
|
| 133 |
50361
|
| 134 |
],
|
| 135 |
+
"transformers_version": "4.31.0.dev0"
|
| 136 |
}
|