Respair commited on
Commit
f7bdb10
·
verified ·
1 Parent(s): 48110d6

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +3 -18
config.json CHANGED
@@ -4,29 +4,17 @@
4
  "activation_function": "gelu",
5
  "apply_spec_augment": false,
6
  "architectures": [
7
- "WhisperEncoder"
8
  ],
9
  "attention_dropout": 0.0,
10
- "begin_suppress_tokens": [
11
- 220,
12
- 50256
13
- ],
14
- "bos_token_id": 50256,
15
  "classifier_proj_size": 256,
16
  "d_model": 1280,
17
- "decoder_attention_heads": 6,
18
- "decoder_ffn_dim": 1536,
19
- "decoder_layerdrop": 0.0,
20
- "decoder_layers": 4,
21
- "decoder_start_token_id": 50257,
22
  "dropout": 0.0,
23
  "encoder_attention_heads": 20,
24
  "encoder_ffn_dim": 5120,
25
  "encoder_layerdrop": 0.0,
26
  "encoder_layers": 32,
27
- "eos_token_id": 50256,
28
  "init_std": 0.02,
29
- "is_encoder_decoder": true,
30
  "mask_feature_length": 10,
31
  "mask_feature_min_masks": 0,
32
  "mask_feature_prob": 0.0,
@@ -35,16 +23,13 @@
35
  "mask_time_prob": 0.05,
36
  "max_length": 448,
37
  "max_source_positions": 1500,
38
- "max_target_positions": 448,
39
  "median_filter_width": 7,
40
- "model_type": "whisper",
41
  "num_hidden_layers": 32,
42
  "num_mel_bins": 80,
43
- "pad_token_id": 50256,
44
  "scale_embedding": false,
45
  "torch_dtype": "float32",
46
  "transformers_version": "4.44.0",
47
- "use_cache": true,
48
  "use_weighted_layer_sum": false,
49
  "vocab_size": 51865
50
- }
 
4
  "activation_function": "gelu",
5
  "apply_spec_augment": false,
6
  "architectures": [
7
+ "WhisperEncoderOnly"
8
  ],
9
  "attention_dropout": 0.0,
 
 
 
 
 
10
  "classifier_proj_size": 256,
11
  "d_model": 1280,
 
 
 
 
 
12
  "dropout": 0.0,
13
  "encoder_attention_heads": 20,
14
  "encoder_ffn_dim": 5120,
15
  "encoder_layerdrop": 0.0,
16
  "encoder_layers": 32,
 
17
  "init_std": 0.02,
 
18
  "mask_feature_length": 10,
19
  "mask_feature_min_masks": 0,
20
  "mask_feature_prob": 0.0,
 
23
  "mask_time_prob": 0.05,
24
  "max_length": 448,
25
  "max_source_positions": 1500,
 
26
  "median_filter_width": 7,
27
+ "model_type": "whisper_encoder",
28
  "num_hidden_layers": 32,
29
  "num_mel_bins": 80,
 
30
  "scale_embedding": false,
31
  "torch_dtype": "float32",
32
  "transformers_version": "4.44.0",
 
33
  "use_weighted_layer_sum": false,
34
  "vocab_size": 51865
35
+ }