Create config.json
Browse files- config.json +41 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai/whisper-base",
|
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": 512,
|
15 |
+
"decoder_attention_heads": 8,
|
16 |
+
"decoder_ffn_dim": 2048,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
+
"decoder_start_token_id": 50258,
|
20 |
+
"dropout": 0.0,
|
21 |
+
"encoder_attention_heads": 8,
|
22 |
+
"encoder_ffn_dim": 2048,
|
23 |
+
"encoder_layerdrop": 0.0,
|
24 |
+
"encoder_layers": 6,
|
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": 6,
|
34 |
+
"num_mel_bins": 80,
|
35 |
+
"pad_token_id": 50257,
|
36 |
+
"scale_embedding": false,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.25.1",
|
39 |
+
"use_cache": false,
|
40 |
+
"vocab_size": 51865
|
41 |
+
}
|