Update config.json
Browse files- config.json +13 -11
config.json
CHANGED
@@ -2,30 +2,33 @@
|
|
2 |
"_name_or_path": "openai/whisper-medium",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
-
|
6 |
"architectures": [
|
7 |
"WhisperForConditionalGeneration"
|
8 |
],
|
|
|
|
|
|
|
9 |
50257
|
10 |
],
|
11 |
"bos_token_id": 50257,
|
12 |
-
|
13 |
"d_model": 1024,
|
14 |
"decoder_attention_heads": 16,
|
15 |
"decoder_ffn_dim": 4096,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"forced_decoder_ids": null,
|
17 |
"init_std": 0.02,
|
18 |
"is_encoder_decoder": true,
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
"max_length": 448,
|
26 |
"max_source_positions": 1500,
|
27 |
"max_target_positions": 448,
|
28 |
-
|
29 |
"model_type": "whisper",
|
30 |
"num_hidden_layers": 24,
|
31 |
"num_mel_bins": 80,
|
@@ -34,6 +37,5 @@
|
|
34 |
"torch_dtype": "float32",
|
35 |
"transformers_version": "4.26.0.dev0",
|
36 |
"use_cache": true,
|
37 |
-
|
38 |
"vocab_size": 51865
|
39 |
-
}
|
|
|
2 |
"_name_or_path": "openai/whisper-medium",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
|
|
5 |
"architectures": [
|
6 |
"WhisperForConditionalGeneration"
|
7 |
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"begin_suppress_tokens": [
|
10 |
+
220,
|
11 |
50257
|
12 |
],
|
13 |
"bos_token_id": 50257,
|
|
|
14 |
"d_model": 1024,
|
15 |
"decoder_attention_heads": 16,
|
16 |
"decoder_ffn_dim": 4096,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 24,
|
19 |
+
"decoder_start_token_id": 50258,
|
20 |
+
"dropout": 0.0,
|
21 |
+
"encoder_attention_heads": 16,
|
22 |
+
"encoder_ffn_dim": 4096,
|
23 |
+
"encoder_layerdrop": 0.0,
|
24 |
+
"encoder_layers": 24,
|
25 |
+
"eos_token_id": 50257,
|
26 |
"forced_decoder_ids": null,
|
27 |
"init_std": 0.02,
|
28 |
"is_encoder_decoder": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"max_length": 448,
|
30 |
"max_source_positions": 1500,
|
31 |
"max_target_positions": 448,
|
|
|
32 |
"model_type": "whisper",
|
33 |
"num_hidden_layers": 24,
|
34 |
"num_mel_bins": 80,
|
|
|
37 |
"torch_dtype": "float32",
|
38 |
"transformers_version": "4.26.0.dev0",
|
39 |
"use_cache": true,
|
|
|
40 |
"vocab_size": 51865
|
41 |
+
}
|