pere commited on
Commit
26ec0fe
1 Parent(s): 4d6bf5e

Updating CTranslate

Browse files
Files changed (7) hide show
  1. config.json +234 -5
  2. config_hf.json +154 -0
  3. ct2/config.json +231 -0
  4. ct2/model.bin +3 -0
  5. ct2/vocabulary.json +0 -0
  6. model.bin +3 -0
  7. vocabulary.json +0 -0
config.json CHANGED
@@ -1,4 +1,233 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "_name_or_path": "./",
3
  "activation_dropout": 0.1,
4
  "activation_function": "gelu",
@@ -6,7 +235,7 @@
6
  "architectures": [
7
  "WhisperForConditionalGeneration"
8
  ],
9
- "attention_dropout": 0.0,
10
  "begin_suppress_tokens": [
11
  220,
12
  50257
@@ -16,13 +245,13 @@
16
  "d_model": 512,
17
  "decoder_attention_heads": 8,
18
  "decoder_ffn_dim": 2048,
19
- "decoder_layerdrop": 0.0,
20
  "decoder_layers": 6,
21
  "decoder_start_token_id": 50258,
22
- "dropout": 0.0,
23
  "encoder_attention_heads": 8,
24
  "encoder_ffn_dim": 2048,
25
- "encoder_layerdrop": 0.0,
26
  "encoder_layers": 6,
27
  "eos_token_id": 50257,
28
  "forced_decoder_ids": [
@@ -43,7 +272,7 @@
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,
 
1
  {
2
+ "alignment_heads": [
3
+ [
4
+ 3,
5
+ 1
6
+ ],
7
+ [
8
+ 4,
9
+ 2
10
+ ],
11
+ [
12
+ 4,
13
+ 3
14
+ ],
15
+ [
16
+ 4,
17
+ 7
18
+ ],
19
+ [
20
+ 5,
21
+ 1
22
+ ],
23
+ [
24
+ 5,
25
+ 2
26
+ ],
27
+ [
28
+ 5,
29
+ 4
30
+ ],
31
+ [
32
+ 5,
33
+ 6
34
+ ]
35
+ ],
36
+ "lang_ids": [
37
+ 50259,
38
+ 50260,
39
+ 50261,
40
+ 50262,
41
+ 50263,
42
+ 50264,
43
+ 50265,
44
+ 50266,
45
+ 50267,
46
+ 50268,
47
+ 50269,
48
+ 50270,
49
+ 50271,
50
+ 50272,
51
+ 50273,
52
+ 50274,
53
+ 50275,
54
+ 50276,
55
+ 50277,
56
+ 50278,
57
+ 50279,
58
+ 50280,
59
+ 50281,
60
+ 50282,
61
+ 50283,
62
+ 50284,
63
+ 50285,
64
+ 50286,
65
+ 50287,
66
+ 50288,
67
+ 50289,
68
+ 50290,
69
+ 50291,
70
+ 50292,
71
+ 50293,
72
+ 50294,
73
+ 50295,
74
+ 50296,
75
+ 50297,
76
+ 50298,
77
+ 50299,
78
+ 50300,
79
+ 50301,
80
+ 50302,
81
+ 50303,
82
+ 50304,
83
+ 50305,
84
+ 50306,
85
+ 50307,
86
+ 50308,
87
+ 50309,
88
+ 50310,
89
+ 50311,
90
+ 50312,
91
+ 50313,
92
+ 50314,
93
+ 50315,
94
+ 50316,
95
+ 50317,
96
+ 50318,
97
+ 50319,
98
+ 50320,
99
+ 50321,
100
+ 50322,
101
+ 50323,
102
+ 50324,
103
+ 50325,
104
+ 50326,
105
+ 50327,
106
+ 50328,
107
+ 50329,
108
+ 50330,
109
+ 50331,
110
+ 50332,
111
+ 50333,
112
+ 50334,
113
+ 50335,
114
+ 50336,
115
+ 50337,
116
+ 50338,
117
+ 50339,
118
+ 50340,
119
+ 50341,
120
+ 50342,
121
+ 50343,
122
+ 50344,
123
+ 50345,
124
+ 50346,
125
+ 50347,
126
+ 50348,
127
+ 50349,
128
+ 50350,
129
+ 50351,
130
+ 50352,
131
+ 50353,
132
+ 50354,
133
+ 50355,
134
+ 50356,
135
+ 50357
136
+ ],
137
+ "suppress_ids": [
138
+ 1,
139
+ 2,
140
+ 7,
141
+ 8,
142
+ 9,
143
+ 10,
144
+ 14,
145
+ 25,
146
+ 26,
147
+ 27,
148
+ 28,
149
+ 29,
150
+ 31,
151
+ 58,
152
+ 59,
153
+ 60,
154
+ 61,
155
+ 62,
156
+ 63,
157
+ 90,
158
+ 91,
159
+ 92,
160
+ 93,
161
+ 359,
162
+ 503,
163
+ 522,
164
+ 542,
165
+ 873,
166
+ 893,
167
+ 902,
168
+ 918,
169
+ 922,
170
+ 931,
171
+ 1350,
172
+ 1853,
173
+ 1982,
174
+ 2460,
175
+ 2627,
176
+ 3246,
177
+ 3253,
178
+ 3268,
179
+ 3536,
180
+ 3846,
181
+ 3961,
182
+ 4183,
183
+ 4667,
184
+ 6585,
185
+ 6647,
186
+ 7273,
187
+ 9061,
188
+ 9383,
189
+ 10428,
190
+ 10929,
191
+ 11938,
192
+ 12033,
193
+ 12331,
194
+ 12562,
195
+ 13793,
196
+ 14157,
197
+ 14635,
198
+ 15265,
199
+ 15618,
200
+ 16553,
201
+ 16604,
202
+ 18362,
203
+ 18956,
204
+ 20075,
205
+ 21675,
206
+ 22520,
207
+ 26130,
208
+ 26161,
209
+ 26435,
210
+ 28279,
211
+ 29464,
212
+ 31650,
213
+ 32302,
214
+ 32470,
215
+ 36865,
216
+ 42863,
217
+ 47425,
218
+ 49870,
219
+ 50254,
220
+ 50258,
221
+ 50358,
222
+ 50359,
223
+ 50360,
224
+ 50361,
225
+ 50362
226
+ ],
227
+ "suppress_ids_begin": [
228
+ 220,
229
+ 50257
230
+ ],
231
  "_name_or_path": "./",
232
  "activation_dropout": 0.1,
233
  "activation_function": "gelu",
 
235
  "architectures": [
236
  "WhisperForConditionalGeneration"
237
  ],
238
+ "attention_dropout": 0,
239
  "begin_suppress_tokens": [
240
  220,
241
  50257
 
245
  "d_model": 512,
246
  "decoder_attention_heads": 8,
247
  "decoder_ffn_dim": 2048,
248
+ "decoder_layerdrop": 0,
249
  "decoder_layers": 6,
250
  "decoder_start_token_id": 50258,
251
+ "dropout": 0,
252
  "encoder_attention_heads": 8,
253
  "encoder_ffn_dim": 2048,
254
+ "encoder_layerdrop": 0,
255
  "encoder_layers": 6,
256
  "eos_token_id": 50257,
257
  "forced_decoder_ids": [
 
272
  "is_encoder_decoder": true,
273
  "mask_feature_length": 10,
274
  "mask_feature_min_masks": 0,
275
+ "mask_feature_prob": 0,
276
  "mask_time_length": 10,
277
  "mask_time_min_masks": 2,
278
  "mask_time_prob": 0.05,
config_hf.json ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./",
3
+ "activation_dropout": 0.1,
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": 512,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 2048,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "decoder_start_token_id": 50258,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 8,
24
+ "encoder_ffn_dim": 2048,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 6,
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
+ "median_filter_width": 7,
54
+ "model_type": "whisper",
55
+ "num_hidden_layers": 6,
56
+ "num_mel_bins": 80,
57
+ "pad_token_id": 50257,
58
+ "scale_embedding": false,
59
+ "suppress_tokens": [
60
+ 1,
61
+ 2,
62
+ 7,
63
+ 8,
64
+ 9,
65
+ 10,
66
+ 14,
67
+ 25,
68
+ 26,
69
+ 27,
70
+ 28,
71
+ 29,
72
+ 31,
73
+ 58,
74
+ 59,
75
+ 60,
76
+ 61,
77
+ 62,
78
+ 63,
79
+ 90,
80
+ 91,
81
+ 92,
82
+ 93,
83
+ 359,
84
+ 503,
85
+ 522,
86
+ 542,
87
+ 873,
88
+ 893,
89
+ 902,
90
+ 918,
91
+ 922,
92
+ 931,
93
+ 1350,
94
+ 1853,
95
+ 1982,
96
+ 2460,
97
+ 2627,
98
+ 3246,
99
+ 3253,
100
+ 3268,
101
+ 3536,
102
+ 3846,
103
+ 3961,
104
+ 4183,
105
+ 4667,
106
+ 6585,
107
+ 6647,
108
+ 7273,
109
+ 9061,
110
+ 9383,
111
+ 10428,
112
+ 10929,
113
+ 11938,
114
+ 12033,
115
+ 12331,
116
+ 12562,
117
+ 13793,
118
+ 14157,
119
+ 14635,
120
+ 15265,
121
+ 15618,
122
+ 16553,
123
+ 16604,
124
+ 18362,
125
+ 18956,
126
+ 20075,
127
+ 21675,
128
+ 22520,
129
+ 26130,
130
+ 26161,
131
+ 26435,
132
+ 28279,
133
+ 29464,
134
+ 31650,
135
+ 32302,
136
+ 32470,
137
+ 36865,
138
+ 42863,
139
+ 47425,
140
+ 49870,
141
+ 50254,
142
+ 50258,
143
+ 50358,
144
+ 50359,
145
+ 50360,
146
+ 50361,
147
+ 50362
148
+ ],
149
+ "torch_dtype": "float32",
150
+ "transformers_version": "4.34.1",
151
+ "use_cache": true,
152
+ "use_weighted_layer_sum": false,
153
+ "vocab_size": 51865
154
+ }
ct2/config.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 3,
5
+ 1
6
+ ],
7
+ [
8
+ 4,
9
+ 2
10
+ ],
11
+ [
12
+ 4,
13
+ 3
14
+ ],
15
+ [
16
+ 4,
17
+ 7
18
+ ],
19
+ [
20
+ 5,
21
+ 1
22
+ ],
23
+ [
24
+ 5,
25
+ 2
26
+ ],
27
+ [
28
+ 5,
29
+ 4
30
+ ],
31
+ [
32
+ 5,
33
+ 6
34
+ ]
35
+ ],
36
+ "lang_ids": [
37
+ 50259,
38
+ 50260,
39
+ 50261,
40
+ 50262,
41
+ 50263,
42
+ 50264,
43
+ 50265,
44
+ 50266,
45
+ 50267,
46
+ 50268,
47
+ 50269,
48
+ 50270,
49
+ 50271,
50
+ 50272,
51
+ 50273,
52
+ 50274,
53
+ 50275,
54
+ 50276,
55
+ 50277,
56
+ 50278,
57
+ 50279,
58
+ 50280,
59
+ 50281,
60
+ 50282,
61
+ 50283,
62
+ 50284,
63
+ 50285,
64
+ 50286,
65
+ 50287,
66
+ 50288,
67
+ 50289,
68
+ 50290,
69
+ 50291,
70
+ 50292,
71
+ 50293,
72
+ 50294,
73
+ 50295,
74
+ 50296,
75
+ 50297,
76
+ 50298,
77
+ 50299,
78
+ 50300,
79
+ 50301,
80
+ 50302,
81
+ 50303,
82
+ 50304,
83
+ 50305,
84
+ 50306,
85
+ 50307,
86
+ 50308,
87
+ 50309,
88
+ 50310,
89
+ 50311,
90
+ 50312,
91
+ 50313,
92
+ 50314,
93
+ 50315,
94
+ 50316,
95
+ 50317,
96
+ 50318,
97
+ 50319,
98
+ 50320,
99
+ 50321,
100
+ 50322,
101
+ 50323,
102
+ 50324,
103
+ 50325,
104
+ 50326,
105
+ 50327,
106
+ 50328,
107
+ 50329,
108
+ 50330,
109
+ 50331,
110
+ 50332,
111
+ 50333,
112
+ 50334,
113
+ 50335,
114
+ 50336,
115
+ 50337,
116
+ 50338,
117
+ 50339,
118
+ 50340,
119
+ 50341,
120
+ 50342,
121
+ 50343,
122
+ 50344,
123
+ 50345,
124
+ 50346,
125
+ 50347,
126
+ 50348,
127
+ 50349,
128
+ 50350,
129
+ 50351,
130
+ 50352,
131
+ 50353,
132
+ 50354,
133
+ 50355,
134
+ 50356,
135
+ 50357
136
+ ],
137
+ "suppress_ids": [
138
+ 1,
139
+ 2,
140
+ 7,
141
+ 8,
142
+ 9,
143
+ 10,
144
+ 14,
145
+ 25,
146
+ 26,
147
+ 27,
148
+ 28,
149
+ 29,
150
+ 31,
151
+ 58,
152
+ 59,
153
+ 60,
154
+ 61,
155
+ 62,
156
+ 63,
157
+ 90,
158
+ 91,
159
+ 92,
160
+ 93,
161
+ 359,
162
+ 503,
163
+ 522,
164
+ 542,
165
+ 873,
166
+ 893,
167
+ 902,
168
+ 918,
169
+ 922,
170
+ 931,
171
+ 1350,
172
+ 1853,
173
+ 1982,
174
+ 2460,
175
+ 2627,
176
+ 3246,
177
+ 3253,
178
+ 3268,
179
+ 3536,
180
+ 3846,
181
+ 3961,
182
+ 4183,
183
+ 4667,
184
+ 6585,
185
+ 6647,
186
+ 7273,
187
+ 9061,
188
+ 9383,
189
+ 10428,
190
+ 10929,
191
+ 11938,
192
+ 12033,
193
+ 12331,
194
+ 12562,
195
+ 13793,
196
+ 14157,
197
+ 14635,
198
+ 15265,
199
+ 15618,
200
+ 16553,
201
+ 16604,
202
+ 18362,
203
+ 18956,
204
+ 20075,
205
+ 21675,
206
+ 22520,
207
+ 26130,
208
+ 26161,
209
+ 26435,
210
+ 28279,
211
+ 29464,
212
+ 31650,
213
+ 32302,
214
+ 32470,
215
+ 36865,
216
+ 42863,
217
+ 47425,
218
+ 49870,
219
+ 50254,
220
+ 50258,
221
+ 50358,
222
+ 50359,
223
+ 50360,
224
+ 50361,
225
+ 50362
226
+ ],
227
+ "suppress_ids_begin": [
228
+ 220,
229
+ 50257
230
+ ]
231
+ }
ct2/model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0003ee7a522ae0872cffb97f7a74499ab878498751cf10c14da2067fd7b7066
3
+ size 290423879
ct2/vocabulary.json ADDED
The diff for this file is too large to render. See raw diff
 
model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0003ee7a522ae0872cffb97f7a74499ab878498751cf10c14da2067fd7b7066
3
+ size 290423879
vocabulary.json ADDED
The diff for this file is too large to render. See raw diff