Instructions to use rasgaard/whisper-tiny.da with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rasgaard/whisper-tiny.da with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="rasgaard/whisper-tiny.da")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("rasgaard/whisper-tiny.da") model = AutoModelForSpeechSeq2Seq.from_pretrained("rasgaard/whisper-tiny.da", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update generation_config.json
Browse files- generation_config.json +1 -1
generation_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"decoder_start_token_id": 50257,
|
| 3 |
"eos_token_id": 50257,
|
| 4 |
-
"max_length":
|
| 5 |
"pad_token_id": 50257,
|
| 6 |
"transformers_version": "4.51.1",
|
| 7 |
"use_cache": false
|
|
|
|
| 1 |
{
|
| 2 |
"decoder_start_token_id": 50257,
|
| 3 |
"eos_token_id": 50257,
|
| 4 |
+
"max_length": 448,
|
| 5 |
"pad_token_id": 50257,
|
| 6 |
"transformers_version": "4.51.1",
|
| 7 |
"use_cache": false
|