ashfaq93 commited on
Commit
fa9d673
1 Parent(s): b4ca4ed

Upload WhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +148 -0
  2. generation_config.json +189 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/whisper-medium.en",
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
+ 50256
13
+ ],
14
+ "bos_token_id": 50257,
15
+ "classifier_proj_size": 256,
16
+ "d_model": 1024,
17
+ "decoder_attention_heads": 16,
18
+ "decoder_ffn_dim": 4096,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 24,
21
+ "decoder_start_token_id": 50257,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 16,
24
+ "encoder_ffn_dim": 4096,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 24,
27
+ "eos_token_id": 50256,
28
+ "forced_decoder_ids": [
29
+ [
30
+ 1,
31
+ 50362
32
+ ]
33
+ ],
34
+ "init_std": 0.02,
35
+ "is_encoder_decoder": true,
36
+ "mask_feature_length": 10,
37
+ "mask_feature_min_masks": 0,
38
+ "mask_feature_prob": 0.0,
39
+ "mask_time_length": 10,
40
+ "mask_time_min_masks": 2,
41
+ "mask_time_prob": 0.05,
42
+ "max_length": 448,
43
+ "max_source_positions": 1500,
44
+ "max_target_positions": 448,
45
+ "median_filter_width": 7,
46
+ "model_type": "whisper",
47
+ "num_hidden_layers": 24,
48
+ "num_mel_bins": 80,
49
+ "pad_token_id": 50256,
50
+ "scale_embedding": false,
51
+ "suppress_tokens": [
52
+ 1,
53
+ 2,
54
+ 7,
55
+ 8,
56
+ 9,
57
+ 10,
58
+ 14,
59
+ 25,
60
+ 26,
61
+ 27,
62
+ 28,
63
+ 29,
64
+ 31,
65
+ 58,
66
+ 59,
67
+ 60,
68
+ 61,
69
+ 62,
70
+ 63,
71
+ 90,
72
+ 91,
73
+ 92,
74
+ 93,
75
+ 357,
76
+ 366,
77
+ 438,
78
+ 532,
79
+ 685,
80
+ 705,
81
+ 796,
82
+ 930,
83
+ 1058,
84
+ 1220,
85
+ 1267,
86
+ 1279,
87
+ 1303,
88
+ 1343,
89
+ 1377,
90
+ 1391,
91
+ 1635,
92
+ 1782,
93
+ 1875,
94
+ 2162,
95
+ 2361,
96
+ 2488,
97
+ 3467,
98
+ 4008,
99
+ 4211,
100
+ 4600,
101
+ 4808,
102
+ 5299,
103
+ 5855,
104
+ 6329,
105
+ 7203,
106
+ 9609,
107
+ 9959,
108
+ 10563,
109
+ 10786,
110
+ 11420,
111
+ 11709,
112
+ 11907,
113
+ 13163,
114
+ 13697,
115
+ 13700,
116
+ 14808,
117
+ 15306,
118
+ 16410,
119
+ 16791,
120
+ 17992,
121
+ 19203,
122
+ 19510,
123
+ 20724,
124
+ 22305,
125
+ 22935,
126
+ 27007,
127
+ 30109,
128
+ 30420,
129
+ 33409,
130
+ 34949,
131
+ 40283,
132
+ 40493,
133
+ 40549,
134
+ 47282,
135
+ 49146,
136
+ 50257,
137
+ 50357,
138
+ 50358,
139
+ 50359,
140
+ 50360,
141
+ 50361
142
+ ],
143
+ "torch_dtype": "float32",
144
+ "transformers_version": "4.40.0.dev0",
145
+ "use_cache": true,
146
+ "use_weighted_layer_sum": false,
147
+ "vocab_size": 51864
148
+ }
generation_config.json ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 11,
5
+ 4
6
+ ],
7
+ [
8
+ 14,
9
+ 1
10
+ ],
11
+ [
12
+ 14,
13
+ 12
14
+ ],
15
+ [
16
+ 14,
17
+ 14
18
+ ],
19
+ [
20
+ 15,
21
+ 4
22
+ ],
23
+ [
24
+ 16,
25
+ 0
26
+ ],
27
+ [
28
+ 16,
29
+ 4
30
+ ],
31
+ [
32
+ 16,
33
+ 9
34
+ ],
35
+ [
36
+ 17,
37
+ 12
38
+ ],
39
+ [
40
+ 17,
41
+ 14
42
+ ],
43
+ [
44
+ 18,
45
+ 7
46
+ ],
47
+ [
48
+ 18,
49
+ 10
50
+ ],
51
+ [
52
+ 18,
53
+ 15
54
+ ],
55
+ [
56
+ 20,
57
+ 0
58
+ ],
59
+ [
60
+ 20,
61
+ 3
62
+ ],
63
+ [
64
+ 20,
65
+ 9
66
+ ],
67
+ [
68
+ 20,
69
+ 14
70
+ ],
71
+ [
72
+ 21,
73
+ 12
74
+ ]
75
+ ],
76
+ "begin_suppress_tokens": [
77
+ 220,
78
+ 50256
79
+ ],
80
+ "bos_token_id": 50257,
81
+ "decoder_start_token_id": 50257,
82
+ "eos_token_id": 50256,
83
+ "forced_decoder_ids": [
84
+ [
85
+ 1,
86
+ 50362
87
+ ]
88
+ ],
89
+ "is_multilingual": false,
90
+ "max_initial_timestamp_index": 50,
91
+ "max_length": 448,
92
+ "no_timestamps_token_id": 50362,
93
+ "pad_token_id": 50256,
94
+ "prev_sot_token_id": 50360,
95
+ "return_timestamps": false,
96
+ "suppress_tokens": [
97
+ 1,
98
+ 2,
99
+ 7,
100
+ 8,
101
+ 9,
102
+ 10,
103
+ 14,
104
+ 25,
105
+ 26,
106
+ 27,
107
+ 28,
108
+ 29,
109
+ 31,
110
+ 58,
111
+ 59,
112
+ 60,
113
+ 61,
114
+ 62,
115
+ 63,
116
+ 90,
117
+ 91,
118
+ 92,
119
+ 93,
120
+ 357,
121
+ 366,
122
+ 438,
123
+ 532,
124
+ 685,
125
+ 705,
126
+ 796,
127
+ 930,
128
+ 1058,
129
+ 1220,
130
+ 1267,
131
+ 1279,
132
+ 1303,
133
+ 1343,
134
+ 1377,
135
+ 1391,
136
+ 1635,
137
+ 1782,
138
+ 1875,
139
+ 2162,
140
+ 2361,
141
+ 2488,
142
+ 3467,
143
+ 4008,
144
+ 4211,
145
+ 4600,
146
+ 4808,
147
+ 5299,
148
+ 5855,
149
+ 6329,
150
+ 7203,
151
+ 9609,
152
+ 9959,
153
+ 10563,
154
+ 10786,
155
+ 11420,
156
+ 11709,
157
+ 11907,
158
+ 13163,
159
+ 13697,
160
+ 13700,
161
+ 14808,
162
+ 15306,
163
+ 16410,
164
+ 16791,
165
+ 17992,
166
+ 19203,
167
+ 19510,
168
+ 20724,
169
+ 22305,
170
+ 22935,
171
+ 27007,
172
+ 30109,
173
+ 30420,
174
+ 33409,
175
+ 34949,
176
+ 40283,
177
+ 40493,
178
+ 40549,
179
+ 47282,
180
+ 49146,
181
+ 50257,
182
+ 50357,
183
+ 50358,
184
+ 50359,
185
+ 50360,
186
+ 50361
187
+ ],
188
+ "transformers_version": "4.40.0.dev0"
189
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:715979fb0a809914df37d083451c5239b9f8df3b973c7a54719746b17e8e7047
3
+ size 3055540208