Upload WhisperForConditionalGeneration
Browse files- config.json +3 -3
- generation_config.json +3 -11
- 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,
|
@@ -41,8 +41,8 @@
|
|
41 |
"num_mel_bins": 128,
|
42 |
"pad_token_id": 50257,
|
43 |
"scale_embedding": false,
|
44 |
-
"torch_dtype": "
|
45 |
-
"transformers_version": "4.
|
46 |
"use_cache": true,
|
47 |
"use_weighted_layer_sum": false,
|
48 |
"vocab_size": 51866
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "model_merged",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"apply_spec_augment": false,
|
|
|
41 |
"num_mel_bins": 128,
|
42 |
"pad_token_id": 50257,
|
43 |
"scale_embedding": false,
|
44 |
+
"torch_dtype": "bfloat16",
|
45 |
+
"transformers_version": "4.46.3",
|
46 |
"use_cache": true,
|
47 |
"use_weighted_layer_sum": false,
|
48 |
"vocab_size": 51866
|
generation_config.json
CHANGED
@@ -32,16 +32,6 @@
|
|
32 |
"bos_token_id": 50257,
|
33 |
"decoder_start_token_id": 50258,
|
34 |
"eos_token_id": 50257,
|
35 |
-
"forced_decoder_ids": [
|
36 |
-
[
|
37 |
-
1,
|
38 |
-
null
|
39 |
-
],
|
40 |
-
[
|
41 |
-
2,
|
42 |
-
50360
|
43 |
-
]
|
44 |
-
],
|
45 |
"is_multilingual": true,
|
46 |
"lang_to_id": {
|
47 |
"<|af|>": 50327,
|
@@ -145,6 +135,7 @@
|
|
145 |
"<|yue|>": 50358,
|
146 |
"<|zh|>": 50260
|
147 |
},
|
|
|
148 |
"max_initial_timestamp_index": 50,
|
149 |
"max_length": 448,
|
150 |
"no_timestamps_token_id": 50364,
|
@@ -241,9 +232,10 @@
|
|
241 |
50362,
|
242 |
50363
|
243 |
],
|
|
|
244 |
"task_to_id": {
|
245 |
"transcribe": 50360,
|
246 |
"translate": 50359
|
247 |
},
|
248 |
-
"transformers_version": "4.
|
249 |
}
|
|
|
32 |
"bos_token_id": 50257,
|
33 |
"decoder_start_token_id": 50258,
|
34 |
"eos_token_id": 50257,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
"is_multilingual": true,
|
36 |
"lang_to_id": {
|
37 |
"<|af|>": 50327,
|
|
|
135 |
"<|yue|>": 50358,
|
136 |
"<|zh|>": 50260
|
137 |
},
|
138 |
+
"language": "thai",
|
139 |
"max_initial_timestamp_index": 50,
|
140 |
"max_length": 448,
|
141 |
"no_timestamps_token_id": 50364,
|
|
|
232 |
50362,
|
233 |
50363
|
234 |
],
|
235 |
+
"task": "transcribe",
|
236 |
"task_to_id": {
|
237 |
"transcribe": 50360,
|
238 |
"translate": 50359
|
239 |
},
|
240 |
+
"transformers_version": "4.46.3"
|
241 |
}
|
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:b233d5f715ae8d1b87dd36920ebc44caff4398644979b24c00a05ef6767c5b4c
|
3 |
+
size 1617825448
|