Upload WhisperForConditionalGenerationWithCTC
Browse files- config.json +1 -1
- generation_config.json +2 -1
config.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
"apply_spec_augment": false,
|
| 8 |
"apply_target_amp_to_n_layers": -1,
|
| 9 |
"architectures": [
|
| 10 |
-
"
|
| 11 |
],
|
| 12 |
"attention_dropout": 0.0,
|
| 13 |
"begin_suppress_tokens": [
|
|
|
|
| 7 |
"apply_spec_augment": false,
|
| 8 |
"apply_target_amp_to_n_layers": -1,
|
| 9 |
"architectures": [
|
| 10 |
+
"WhisperForConditionalGenerationWithCTC"
|
| 11 |
],
|
| 12 |
"attention_dropout": 0.0,
|
| 13 |
"begin_suppress_tokens": [
|
generation_config.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
| 34 |
],
|
| 35 |
"bos_token_id": 50257,
|
| 36 |
"ctc_margin": 0,
|
| 37 |
-
"ctc_weight": 0.
|
| 38 |
"decoder_start_token_id": 50258,
|
| 39 |
"eos_token_id": 50257,
|
| 40 |
"is_multilingual": true,
|
|
@@ -140,6 +140,7 @@
|
|
| 140 |
"<|yue|>": 50358,
|
| 141 |
"<|zh|>": 50260
|
| 142 |
},
|
|
|
|
| 143 |
"max_initial_timestamp_index": 50,
|
| 144 |
"max_length": 448,
|
| 145 |
"mt_num_speakers": 1,
|
|
|
|
| 34 |
],
|
| 35 |
"bos_token_id": 50257,
|
| 36 |
"ctc_margin": 0,
|
| 37 |
+
"ctc_weight": 0.3,
|
| 38 |
"decoder_start_token_id": 50258,
|
| 39 |
"eos_token_id": 50257,
|
| 40 |
"is_multilingual": true,
|
|
|
|
| 140 |
"<|yue|>": 50358,
|
| 141 |
"<|zh|>": 50260
|
| 142 |
},
|
| 143 |
+
"language": "russian",
|
| 144 |
"max_initial_timestamp_index": 50,
|
| 145 |
"max_length": 448,
|
| 146 |
"mt_num_speakers": 1,
|