blackhole33 commited on
Commit
671526f
1 Parent(s): 3abeb28

Upload WhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +153 -0
  2. generation_config.json +254 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "whisper-medium-uz_V2.1",
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
+ "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": 50258,
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": 50257,
28
+ "forced_decoder_ids": [
29
+ [
30
+ 1,
31
+ 50259
32
+ ],
33
+ [
34
+ 2,
35
+ 50359
36
+ ],
37
+ [
38
+ 3,
39
+ 50363
40
+ ]
41
+ ],
42
+ "init_std": 0.02,
43
+ "is_encoder_decoder": true,
44
+ "mask_feature_length": 10,
45
+ "mask_feature_min_masks": 0,
46
+ "mask_feature_prob": 0.0,
47
+ "mask_time_length": 10,
48
+ "mask_time_min_masks": 2,
49
+ "mask_time_prob": 0.05,
50
+ "max_length": 448,
51
+ "max_source_positions": 1500,
52
+ "max_target_positions": 448,
53
+ "model_type": "whisper",
54
+ "num_hidden_layers": 24,
55
+ "num_mel_bins": 80,
56
+ "pad_token_id": 50257,
57
+ "scale_embedding": false,
58
+ "suppress_tokens": [
59
+ 1,
60
+ 2,
61
+ 7,
62
+ 8,
63
+ 9,
64
+ 10,
65
+ 14,
66
+ 25,
67
+ 26,
68
+ 27,
69
+ 28,
70
+ 29,
71
+ 31,
72
+ 58,
73
+ 59,
74
+ 60,
75
+ 61,
76
+ 62,
77
+ 63,
78
+ 90,
79
+ 91,
80
+ 92,
81
+ 93,
82
+ 359,
83
+ 503,
84
+ 522,
85
+ 542,
86
+ 873,
87
+ 893,
88
+ 902,
89
+ 918,
90
+ 922,
91
+ 931,
92
+ 1350,
93
+ 1853,
94
+ 1982,
95
+ 2460,
96
+ 2627,
97
+ 3246,
98
+ 3253,
99
+ 3268,
100
+ 3536,
101
+ 3846,
102
+ 3961,
103
+ 4183,
104
+ 4667,
105
+ 6585,
106
+ 6647,
107
+ 7273,
108
+ 9061,
109
+ 9383,
110
+ 10428,
111
+ 10929,
112
+ 11938,
113
+ 12033,
114
+ 12331,
115
+ 12562,
116
+ 13793,
117
+ 14157,
118
+ 14635,
119
+ 15265,
120
+ 15618,
121
+ 16553,
122
+ 16604,
123
+ 18362,
124
+ 18956,
125
+ 20075,
126
+ 21675,
127
+ 22520,
128
+ 26130,
129
+ 26161,
130
+ 26435,
131
+ 28279,
132
+ 29464,
133
+ 31650,
134
+ 32302,
135
+ 32470,
136
+ 36865,
137
+ 42863,
138
+ 47425,
139
+ 49870,
140
+ 50254,
141
+ 50258,
142
+ 50358,
143
+ 50359,
144
+ 50360,
145
+ 50361,
146
+ 50362
147
+ ],
148
+ "torch_dtype": "float32",
149
+ "transformers_version": "4.28.0",
150
+ "use_cache": true,
151
+ "use_weighted_layer_sum": false,
152
+ "vocab_size": 51865
153
+ }
generation_config.json ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 13,
5
+ 15
6
+ ],
7
+ [
8
+ 15,
9
+ 4
10
+ ],
11
+ [
12
+ 15,
13
+ 15
14
+ ],
15
+ [
16
+ 16,
17
+ 1
18
+ ],
19
+ [
20
+ 20,
21
+ 0
22
+ ],
23
+ [
24
+ 23,
25
+ 4
26
+ ]
27
+ ],
28
+ "begin_suppress_tokens": [
29
+ 220,
30
+ 50257
31
+ ],
32
+ "bos_token_id": 50257,
33
+ "decoder_start_token_id": 50258,
34
+ "eos_token_id": 50257,
35
+ "forced_decoder_ids": [
36
+ [
37
+ 1,
38
+ 50259
39
+ ],
40
+ [
41
+ 2,
42
+ 50359
43
+ ],
44
+ [
45
+ 3,
46
+ 50363
47
+ ]
48
+ ],
49
+ "is_multilingual": true,
50
+ "lang_to_id": {
51
+ "<|af|>": 50327,
52
+ "<|am|>": 50334,
53
+ "<|ar|>": 50272,
54
+ "<|as|>": 50350,
55
+ "<|az|>": 50304,
56
+ "<|ba|>": 50355,
57
+ "<|be|>": 50330,
58
+ "<|bg|>": 50292,
59
+ "<|bn|>": 50302,
60
+ "<|bo|>": 50347,
61
+ "<|br|>": 50309,
62
+ "<|bs|>": 50315,
63
+ "<|ca|>": 50270,
64
+ "<|cs|>": 50283,
65
+ "<|cy|>": 50297,
66
+ "<|da|>": 50285,
67
+ "<|de|>": 50261,
68
+ "<|el|>": 50281,
69
+ "<|en|>": 50259,
70
+ "<|es|>": 50262,
71
+ "<|et|>": 50307,
72
+ "<|eu|>": 50310,
73
+ "<|fa|>": 50300,
74
+ "<|fi|>": 50277,
75
+ "<|fo|>": 50338,
76
+ "<|fr|>": 50265,
77
+ "<|gl|>": 50319,
78
+ "<|gu|>": 50333,
79
+ "<|haw|>": 50352,
80
+ "<|ha|>": 50354,
81
+ "<|he|>": 50279,
82
+ "<|hi|>": 50276,
83
+ "<|hr|>": 50291,
84
+ "<|ht|>": 50339,
85
+ "<|hu|>": 50286,
86
+ "<|hy|>": 50312,
87
+ "<|id|>": 50275,
88
+ "<|is|>": 50311,
89
+ "<|it|>": 50274,
90
+ "<|ja|>": 50266,
91
+ "<|jw|>": 50356,
92
+ "<|ka|>": 50329,
93
+ "<|kk|>": 50316,
94
+ "<|km|>": 50323,
95
+ "<|kn|>": 50306,
96
+ "<|ko|>": 50264,
97
+ "<|la|>": 50294,
98
+ "<|lb|>": 50345,
99
+ "<|ln|>": 50353,
100
+ "<|lo|>": 50336,
101
+ "<|lt|>": 50293,
102
+ "<|lv|>": 50301,
103
+ "<|mg|>": 50349,
104
+ "<|mi|>": 50295,
105
+ "<|mk|>": 50308,
106
+ "<|ml|>": 50296,
107
+ "<|mn|>": 50314,
108
+ "<|mr|>": 50320,
109
+ "<|ms|>": 50282,
110
+ "<|mt|>": 50343,
111
+ "<|my|>": 50346,
112
+ "<|ne|>": 50313,
113
+ "<|nl|>": 50271,
114
+ "<|nn|>": 50342,
115
+ "<|no|>": 50288,
116
+ "<|oc|>": 50328,
117
+ "<|pa|>": 50321,
118
+ "<|pl|>": 50269,
119
+ "<|ps|>": 50340,
120
+ "<|pt|>": 50267,
121
+ "<|ro|>": 50284,
122
+ "<|ru|>": 50263,
123
+ "<|sa|>": 50344,
124
+ "<|sd|>": 50332,
125
+ "<|si|>": 50322,
126
+ "<|sk|>": 50298,
127
+ "<|sl|>": 50305,
128
+ "<|sn|>": 50324,
129
+ "<|so|>": 50326,
130
+ "<|sq|>": 50317,
131
+ "<|sr|>": 50303,
132
+ "<|su|>": 50357,
133
+ "<|sv|>": 50273,
134
+ "<|sw|>": 50318,
135
+ "<|ta|>": 50287,
136
+ "<|te|>": 50299,
137
+ "<|tg|>": 50331,
138
+ "<|th|>": 50289,
139
+ "<|tk|>": 50341,
140
+ "<|tl|>": 50348,
141
+ "<|tr|>": 50268,
142
+ "<|tt|>": 50351,
143
+ "<|uk|>": 50280,
144
+ "<|ur|>": 50290,
145
+ "<|uz|>": 50337,
146
+ "<|vi|>": 50278,
147
+ "<|yi|>": 50335,
148
+ "<|yo|>": 50325,
149
+ "<|zh|>": 50260
150
+ },
151
+ "language": "uzbek",
152
+ "max_initial_timestamp_index": 50,
153
+ "max_length": 448,
154
+ "no_timestamps_token_id": 50363,
155
+ "pad_token_id": 50257,
156
+ "prev_sot_token_id": 50361,
157
+ "return_timestamps": false,
158
+ "suppress_tokens": [
159
+ 1,
160
+ 2,
161
+ 7,
162
+ 8,
163
+ 9,
164
+ 10,
165
+ 14,
166
+ 25,
167
+ 26,
168
+ 27,
169
+ 28,
170
+ 29,
171
+ 31,
172
+ 58,
173
+ 59,
174
+ 60,
175
+ 61,
176
+ 62,
177
+ 63,
178
+ 90,
179
+ 91,
180
+ 92,
181
+ 93,
182
+ 359,
183
+ 503,
184
+ 522,
185
+ 542,
186
+ 873,
187
+ 893,
188
+ 902,
189
+ 918,
190
+ 922,
191
+ 931,
192
+ 1350,
193
+ 1853,
194
+ 1982,
195
+ 2460,
196
+ 2627,
197
+ 3246,
198
+ 3253,
199
+ 3268,
200
+ 3536,
201
+ 3846,
202
+ 3961,
203
+ 4183,
204
+ 4667,
205
+ 6585,
206
+ 6647,
207
+ 7273,
208
+ 9061,
209
+ 9383,
210
+ 10428,
211
+ 10929,
212
+ 11938,
213
+ 12033,
214
+ 12331,
215
+ 12562,
216
+ 13793,
217
+ 14157,
218
+ 14635,
219
+ 15265,
220
+ 15618,
221
+ 16553,
222
+ 16604,
223
+ 18362,
224
+ 18956,
225
+ 20075,
226
+ 21675,
227
+ 22520,
228
+ 26130,
229
+ 26161,
230
+ 26435,
231
+ 28279,
232
+ 29464,
233
+ 31650,
234
+ 32302,
235
+ 32470,
236
+ 36865,
237
+ 42863,
238
+ 47425,
239
+ 49870,
240
+ 50254,
241
+ 50258,
242
+ 50358,
243
+ 50359,
244
+ 50360,
245
+ 50361,
246
+ 50362
247
+ ],
248
+ "task": "transcribe",
249
+ "task_to_id": {
250
+ "transcribe": 50359,
251
+ "translate": 50358
252
+ },
253
+ "transformers_version": "4.28.0"
254
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:473f847e05254911588db512678358dc8386fe136f3200e6c34ec5603d808cb8
3
+ size 3055742038