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")# 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
Upload WhisperForConditionalGeneration
Browse files- config.json +3 -9
- generation_config.json +3 -25
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
"activation_function": "gelu",
|
| 5 |
"apply_spec_augment": false,
|
|
@@ -7,13 +7,7 @@
|
|
| 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,
|
|
@@ -54,7 +48,7 @@
|
|
| 54 |
"transcribe": 0
|
| 55 |
},
|
| 56 |
"torch_dtype": "float32",
|
| 57 |
-
"transformers_version": "4.
|
| 58 |
"use_cache": true,
|
| 59 |
"use_weighted_layer_sum": false,
|
| 60 |
"vocab_size": 5622
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "training_output_final_2",
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
"activation_function": "gelu",
|
| 5 |
"apply_spec_augment": false,
|
|
|
|
| 7 |
"WhisperForConditionalGeneration"
|
| 8 |
],
|
| 9 |
"attention_dropout": 0.0,
|
| 10 |
+
"begin_suppress_tokens": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"bos_token_id": 0,
|
| 12 |
"classifier_proj_size": 256,
|
| 13 |
"d_model": 1024,
|
|
|
|
| 48 |
"transcribe": 0
|
| 49 |
},
|
| 50 |
"torch_dtype": "float32",
|
| 51 |
+
"transformers_version": "4.46.0.dev0",
|
| 52 |
"use_cache": true,
|
| 53 |
"use_weighted_layer_sum": false,
|
| 54 |
"vocab_size": 5622
|
generation_config.json
CHANGED
|
@@ -1,30 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"begin_suppress_tokens": [
|
| 3 |
-
2,
|
| 4 |
-
0,
|
| 5 |
-
0,
|
| 6 |
-
0,
|
| 7 |
-
0
|
| 8 |
-
],
|
| 9 |
"bos_token_id": 0,
|
|
|
|
| 10 |
"eos_token_id": 1,
|
| 11 |
-
"
|
| 12 |
-
[
|
| 13 |
-
1,
|
| 14 |
-
3
|
| 15 |
-
],
|
| 16 |
-
[
|
| 17 |
-
2,
|
| 18 |
-
4
|
| 19 |
-
]
|
| 20 |
-
],
|
| 21 |
"pad_token_id": 2,
|
| 22 |
-
"
|
| 23 |
-
2,
|
| 24 |
-
0,
|
| 25 |
-
0,
|
| 26 |
-
0,
|
| 27 |
-
0
|
| 28 |
-
],
|
| 29 |
-
"transformers_version": "4.45.2"
|
| 30 |
}
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"bos_token_id": 0,
|
| 3 |
+
"decoder_start_token_id": 0,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
+
"max_length": 100,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"pad_token_id": 2,
|
| 7 |
+
"transformers_version": "4.46.0.dev0"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb573ab4ecb1cfbc5f11346eb87f49a0be277e21429d48db835f9790c6997391
|
| 3 |
+
size 2866132776
|