Instructions to use katuni4ka/tiny-random-whisper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use katuni4ka/tiny-random-whisper with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="katuni4ka/tiny-random-whisper")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("katuni4ka/tiny-random-whisper") model = AutoModelForSpeechSeq2Seq.from_pretrained("katuni4ka/tiny-random-whisper") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +5 -1
config.json
CHANGED
|
@@ -24,11 +24,15 @@
|
|
| 24 |
"forced_decoder_ids": [
|
| 25 |
[
|
| 26 |
1,
|
| 27 |
-
|
| 28 |
],
|
| 29 |
[
|
| 30 |
2,
|
| 31 |
50359
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
]
|
| 33 |
],
|
| 34 |
"init_std": 0.02,
|
|
|
|
| 24 |
"forced_decoder_ids": [
|
| 25 |
[
|
| 26 |
1,
|
| 27 |
+
50259
|
| 28 |
],
|
| 29 |
[
|
| 30 |
2,
|
| 31 |
50359
|
| 32 |
+
],
|
| 33 |
+
[
|
| 34 |
+
3,
|
| 35 |
+
50363
|
| 36 |
]
|
| 37 |
],
|
| 38 |
"init_std": 0.02,
|