bofenghuang
commited on
Commit
•
6277df1
1
Parent(s):
5313dcb
Add other formats
Browse files- ctranslate2/config.json +280 -0
- ctranslate2/model.bin +3 -0
- ctranslate2/preprocessor_config.json +14 -0
- ctranslate2/tokenizer.json +0 -0
- ctranslate2/vocabulary.json +0 -0
- ggml-model-q5_0.bin +3 -0
- ggml-model.bin +3 -0
- original_model.pt +3 -0
ctranslate2/config.json
ADDED
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
1,
|
69 |
+
16
|
70 |
+
],
|
71 |
+
[
|
72 |
+
1,
|
73 |
+
17
|
74 |
+
],
|
75 |
+
[
|
76 |
+
1,
|
77 |
+
18
|
78 |
+
],
|
79 |
+
[
|
80 |
+
1,
|
81 |
+
19
|
82 |
+
]
|
83 |
+
],
|
84 |
+
"lang_ids": [
|
85 |
+
50259,
|
86 |
+
50260,
|
87 |
+
50261,
|
88 |
+
50262,
|
89 |
+
50263,
|
90 |
+
50264,
|
91 |
+
50265,
|
92 |
+
50266,
|
93 |
+
50267,
|
94 |
+
50268,
|
95 |
+
50269,
|
96 |
+
50270,
|
97 |
+
50271,
|
98 |
+
50272,
|
99 |
+
50273,
|
100 |
+
50274,
|
101 |
+
50275,
|
102 |
+
50276,
|
103 |
+
50277,
|
104 |
+
50278,
|
105 |
+
50279,
|
106 |
+
50280,
|
107 |
+
50281,
|
108 |
+
50282,
|
109 |
+
50283,
|
110 |
+
50284,
|
111 |
+
50285,
|
112 |
+
50286,
|
113 |
+
50287,
|
114 |
+
50288,
|
115 |
+
50289,
|
116 |
+
50290,
|
117 |
+
50291,
|
118 |
+
50292,
|
119 |
+
50293,
|
120 |
+
50294,
|
121 |
+
50295,
|
122 |
+
50296,
|
123 |
+
50297,
|
124 |
+
50298,
|
125 |
+
50299,
|
126 |
+
50300,
|
127 |
+
50301,
|
128 |
+
50302,
|
129 |
+
50303,
|
130 |
+
50304,
|
131 |
+
50305,
|
132 |
+
50306,
|
133 |
+
50307,
|
134 |
+
50308,
|
135 |
+
50309,
|
136 |
+
50310,
|
137 |
+
50311,
|
138 |
+
50312,
|
139 |
+
50313,
|
140 |
+
50314,
|
141 |
+
50315,
|
142 |
+
50316,
|
143 |
+
50317,
|
144 |
+
50318,
|
145 |
+
50319,
|
146 |
+
50320,
|
147 |
+
50321,
|
148 |
+
50322,
|
149 |
+
50323,
|
150 |
+
50324,
|
151 |
+
50325,
|
152 |
+
50326,
|
153 |
+
50327,
|
154 |
+
50328,
|
155 |
+
50329,
|
156 |
+
50330,
|
157 |
+
50331,
|
158 |
+
50332,
|
159 |
+
50333,
|
160 |
+
50334,
|
161 |
+
50335,
|
162 |
+
50336,
|
163 |
+
50337,
|
164 |
+
50338,
|
165 |
+
50339,
|
166 |
+
50340,
|
167 |
+
50341,
|
168 |
+
50342,
|
169 |
+
50343,
|
170 |
+
50344,
|
171 |
+
50345,
|
172 |
+
50346,
|
173 |
+
50347,
|
174 |
+
50348,
|
175 |
+
50349,
|
176 |
+
50350,
|
177 |
+
50351,
|
178 |
+
50352,
|
179 |
+
50353,
|
180 |
+
50354,
|
181 |
+
50355,
|
182 |
+
50356,
|
183 |
+
50357,
|
184 |
+
50358
|
185 |
+
],
|
186 |
+
"suppress_ids": [
|
187 |
+
1,
|
188 |
+
2,
|
189 |
+
7,
|
190 |
+
8,
|
191 |
+
9,
|
192 |
+
10,
|
193 |
+
14,
|
194 |
+
25,
|
195 |
+
26,
|
196 |
+
27,
|
197 |
+
28,
|
198 |
+
29,
|
199 |
+
31,
|
200 |
+
58,
|
201 |
+
59,
|
202 |
+
60,
|
203 |
+
61,
|
204 |
+
62,
|
205 |
+
63,
|
206 |
+
90,
|
207 |
+
91,
|
208 |
+
92,
|
209 |
+
93,
|
210 |
+
359,
|
211 |
+
503,
|
212 |
+
522,
|
213 |
+
542,
|
214 |
+
873,
|
215 |
+
893,
|
216 |
+
902,
|
217 |
+
918,
|
218 |
+
922,
|
219 |
+
931,
|
220 |
+
1350,
|
221 |
+
1853,
|
222 |
+
1982,
|
223 |
+
2460,
|
224 |
+
2627,
|
225 |
+
3246,
|
226 |
+
3253,
|
227 |
+
3268,
|
228 |
+
3536,
|
229 |
+
3846,
|
230 |
+
3961,
|
231 |
+
4183,
|
232 |
+
4667,
|
233 |
+
6585,
|
234 |
+
6647,
|
235 |
+
7273,
|
236 |
+
9061,
|
237 |
+
9383,
|
238 |
+
10428,
|
239 |
+
10929,
|
240 |
+
11938,
|
241 |
+
12033,
|
242 |
+
12331,
|
243 |
+
12562,
|
244 |
+
13793,
|
245 |
+
14157,
|
246 |
+
14635,
|
247 |
+
15265,
|
248 |
+
15618,
|
249 |
+
16553,
|
250 |
+
16604,
|
251 |
+
18362,
|
252 |
+
18956,
|
253 |
+
20075,
|
254 |
+
21675,
|
255 |
+
22520,
|
256 |
+
26130,
|
257 |
+
26161,
|
258 |
+
26435,
|
259 |
+
28279,
|
260 |
+
29464,
|
261 |
+
31650,
|
262 |
+
32302,
|
263 |
+
32470,
|
264 |
+
36865,
|
265 |
+
42863,
|
266 |
+
47425,
|
267 |
+
49870,
|
268 |
+
50254,
|
269 |
+
50258,
|
270 |
+
50359,
|
271 |
+
50360,
|
272 |
+
50361,
|
273 |
+
50362,
|
274 |
+
50363
|
275 |
+
],
|
276 |
+
"suppress_ids_begin": [
|
277 |
+
220,
|
278 |
+
50257
|
279 |
+
]
|
280 |
+
}
|
ctranslate2/model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e1dd83bc5c6174ab0f48cf209347ceee3a0934180bf0fde26227e817f469f513
|
3 |
+
size 1512927906
|
ctranslate2/preprocessor_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chunk_length": 30,
|
3 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
4 |
+
"feature_size": 128,
|
5 |
+
"hop_length": 160,
|
6 |
+
"n_fft": 400,
|
7 |
+
"n_samples": 480000,
|
8 |
+
"nb_max_frames": 3000,
|
9 |
+
"padding_side": "right",
|
10 |
+
"padding_value": 0.0,
|
11 |
+
"processor_class": "WhisperProcessor",
|
12 |
+
"return_attention_mask": false,
|
13 |
+
"sampling_rate": 16000
|
14 |
+
}
|
ctranslate2/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
ctranslate2/vocabulary.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
ggml-model-q5_0.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78859adfcac034b046ee4a7851e6765ee8830207e3b92e1ea02102678376e9cf
|
3 |
+
size 537819875
|
ggml-model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25376cefca437d0fb66688b50fee20bc6fb9e9ec98214ab493558928ffaf8ac0
|
3 |
+
size 1519521155
|
original_model.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22052307d94e071d9ec8fa87d779999e24d87086e6225fd973ef14b6f3539ba7
|
3 |
+
size 1513002965
|