fdemelo commited on
Commit
cd483bd
·
unverified ·
1 Parent(s): bd8b4ab

Preserve model config as config.json

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