Upload config.json
Browse files- config.json +52 -27
config.json
CHANGED
|
@@ -1,33 +1,58 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
-
"
|
|
|
|
|
|
|
| 4 |
"architectures": [
|
| 5 |
"WhisperForConditionalGeneration"
|
| 6 |
],
|
| 7 |
-
"attention_dropout": 0.
|
| 8 |
-
"
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
"
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"model_type": "whisper",
|
| 23 |
-
"
|
| 24 |
-
"
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
"
|
| 31 |
-
"transformers_version": "4.
|
| 32 |
-
"
|
|
|
|
| 33 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "openai/whisper-medium",
|
| 3 |
+
"activation_dropout": 0.0,
|
| 4 |
+
"activation_function": "gelu",
|
| 5 |
+
"apply_spec_augment": false,
|
| 6 |
"architectures": [
|
| 7 |
"WhisperForConditionalGeneration"
|
| 8 |
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"begin_suppress_tokens": [
|
| 11 |
+
220,
|
| 12 |
+
50257
|
| 13 |
+
],
|
| 14 |
+
"bos_token_id": 50257,
|
| 15 |
+
"d_model": 1024,
|
| 16 |
+
"decoder_attention_heads": 16,
|
| 17 |
+
"decoder_ffn_dim": 4096,
|
| 18 |
+
"decoder_layerdrop": 0.0,
|
| 19 |
+
"decoder_layers": 24,
|
| 20 |
+
"decoder_start_token_id": 50258,
|
| 21 |
+
"dropout": 0.0,
|
| 22 |
+
"encoder_attention_heads": 16,
|
| 23 |
+
"encoder_ffn_dim": 4096,
|
| 24 |
+
"encoder_layerdrop": 0.0,
|
| 25 |
+
"encoder_layers": 24,
|
| 26 |
+
"eos_token_id": 50257,
|
| 27 |
+
"forced_decoder_ids": [
|
| 28 |
+
[
|
| 29 |
+
1,
|
| 30 |
+
50259
|
| 31 |
+
],
|
| 32 |
+
[
|
| 33 |
+
2,
|
| 34 |
+
50359
|
| 35 |
+
],
|
| 36 |
+
[
|
| 37 |
+
3,
|
| 38 |
+
50363
|
| 39 |
+
]
|
| 40 |
+
],
|
| 41 |
+
"init_std": 0.02,
|
| 42 |
+
"is_encoder_decoder": true,
|
| 43 |
+
"max_length": 448,
|
| 44 |
+
"max_source_positions": 1500,
|
| 45 |
+
"max_target_positions": 448,
|
| 46 |
"model_type": "whisper",
|
| 47 |
+
"num_hidden_layers": 24,
|
| 48 |
+
"num_mel_bins": 80,
|
| 49 |
+
"pad_token_id": 50257,
|
| 50 |
+
"scale_embedding": false,
|
| 51 |
+
"suppress_tokens": [
|
| 52 |
+
1, 2, 7, 8, 9, 10, 14, 25, 26, 27, 28, 29, 31, 58, 59, 60, 61, 62, 63, 90, 91, 92, 93, 359, 503, 522, 542, 873, 893, 902, 918, 922, 931, 1350, 1853, 1982, 2460, 2627, 3246, 3253, 3268, 3536, 3846, 3961, 4183, 4667, 6585, 6647, 7273, 9061, 9383, 10428, 10929, 11938, 12033, 12331, 12562, 13793, 14157, 14635, 15265, 15618, 16553, 16604, 18362, 18956, 20075, 21675, 22520, 26130, 26161, 26435, 28279, 29464, 31650, 32302, 32470, 36865, 42863, 47425, 49870, 50254
|
| 53 |
+
],
|
| 54 |
+
"torch_dtype": "float32",
|
| 55 |
+
"transformers_version": "4.27.0",
|
| 56 |
+
"use_cache": true,
|
| 57 |
+
"vocab_size": 51865
|
| 58 |
}
|