Mehmetarik commited on
Commit
923236c
·
verified ·
1 Parent(s): d3438af

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +52 -27
config.json CHANGED
@@ -1,33 +1,58 @@
1
  {
2
- "_name_or_path": "distilbert-base-uncased-finetuned-sst-2-english",
3
- "activation": "gelu",
 
 
4
  "architectures": [
5
  "WhisperForConditionalGeneration"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "finetuning_task": "sst-2",
11
- "hidden_dim": 3072,
12
- "id2label": {
13
- "0": "NEGATIVE",
14
- "1": "POSITIVE"
15
- },
16
- "initializer_range": 0.02,
17
- "label2id": {
18
- "NEGATIVE": 0,
19
- "POSITIVE": 1
20
- },
21
- "max_position_embeddings": 512,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  "model_type": "whisper",
23
- "n_heads": 12,
24
- "n_layers": 6,
25
- "output_past": true,
26
- "pad_token_id": 0,
27
- "qa_dropout": 0.1,
28
- "seq_classif_dropout": 0.2,
29
- "sinusoidal_pos_embds": false,
30
- "tie_weights_": true,
31
- "transformers_version": "4.49.0",
32
- "vocab_size": 30522
 
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
  }