Instructions to use breadberry-prime/ylabs-data-heidi-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use breadberry-prime/ylabs-data-heidi-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="breadberry-prime/ylabs-data-heidi-medium")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("breadberry-prime/ylabs-data-heidi-medium") model = AutoModelForSpeechSeq2Seq.from_pretrained("breadberry-prime/ylabs-data-heidi-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +7 -1
config.json
CHANGED
|
@@ -7,7 +7,13 @@
|
|
| 7 |
"WhisperForConditionalGeneration"
|
| 8 |
],
|
| 9 |
"attention_dropout": 0.0,
|
| 10 |
-
"begin_suppress_tokens": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"bos_token_id": 0,
|
| 12 |
"classifier_proj_size": 256,
|
| 13 |
"d_model": 1024,
|
|
|
|
| 7 |
"WhisperForConditionalGeneration"
|
| 8 |
],
|
| 9 |
"attention_dropout": 0.0,
|
| 10 |
+
"begin_suppress_tokens": [
|
| 11 |
+
2,
|
| 12 |
+
0,
|
| 13 |
+
0,
|
| 14 |
+
0,
|
| 15 |
+
0
|
| 16 |
+
],
|
| 17 |
"bos_token_id": 0,
|
| 18 |
"classifier_proj_size": 256,
|
| 19 |
"d_model": 1024,
|