OmarEXP commited on
Commit
a6f3959
1 Parent(s): 9d3267b

Upload WhisperForConditionalGeneration

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