Transformers
Safetensors
whisper
Lakoc commited on
Commit
9b2d1c7
·
verified ·
1 Parent(s): a7d82c3

Upload WhisperForConditionalGenerationWithCTC

Browse files
Files changed (2) hide show
  1. config.json +1 -1
  2. 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
- "DiCoWForConditionalGeneration"
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.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,