Automatic Speech Recognition
Transformers
Safetensors
DiCoW
speech
whisper
multilingual
speaker-diarization
meeting-transcription
BUT-FIT
custom_code
Instructions to use BUT-FIT/DiCoW_v3_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BUT-FIT/DiCoW_v3_2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="BUT-FIT/DiCoW_v3_2", trust_remote_code=True)# Load model directly from transformers import AutoModelForSpeechSeq2Seq model = AutoModelForSpeechSeq2Seq.from_pretrained("BUT-FIT/DiCoW_v3_2", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update generation_config.json
Browse files- generation_config.json +1 -4
generation_config.json
CHANGED
|
@@ -29,10 +29,7 @@
|
|
| 29 |
"apply_fddt_to_n_layers": -1,
|
| 30 |
"apply_target_amp_to_n_layers": -1,
|
| 31 |
"attn_implementation": "flash_attention_2",
|
| 32 |
-
"begin_suppress_tokens":
|
| 33 |
-
220,
|
| 34 |
-
50257
|
| 35 |
-
],
|
| 36 |
"bos_token_id": 50257,
|
| 37 |
"ctc_margin": 0,
|
| 38 |
"ctc_weight": 0,
|
|
|
|
| 29 |
"apply_fddt_to_n_layers": -1,
|
| 30 |
"apply_target_amp_to_n_layers": -1,
|
| 31 |
"attn_implementation": "flash_attention_2",
|
| 32 |
+
"begin_suppress_tokens": null,
|
|
|
|
|
|
|
|
|
|
| 33 |
"bos_token_id": 50257,
|
| 34 |
"ctc_margin": 0,
|
| 35 |
"ctc_weight": 0,
|