bofenghuang
commited on
Commit
•
16bd021
1
Parent(s):
d7dc199
Fix alignment_heads
Browse files- ctranslate2/config.json +609 -9
- generation_config.json +0 -42
ctranslate2/config.json
CHANGED
@@ -1,44 +1,644 @@
|
|
1 |
{
|
2 |
"alignment_heads": [
|
3 |
[
|
4 |
-
|
5 |
0
|
6 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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19 |
+
[
|
20 |
+
8,
|
21 |
+
4
|
22 |
+
],
|
23 |
+
[
|
24 |
+
8,
|
25 |
+
5
|
26 |
+
],
|
27 |
+
[
|
28 |
+
8,
|
29 |
+
6
|
30 |
+
],
|
31 |
+
[
|
32 |
+
8,
|
33 |
+
7
|
34 |
+
],
|
35 |
+
[
|
36 |
+
8,
|
37 |
+
8
|
38 |
+
],
|
39 |
+
[
|
40 |
+
8,
|
41 |
+
9
|
42 |
+
],
|
43 |
+
[
|
44 |
+
8,
|
45 |
+
10
|
46 |
+
],
|
47 |
+
[
|
48 |
+
8,
|
49 |
+
11
|
50 |
+
],
|
51 |
+
[
|
52 |
+
8,
|
53 |
+
12
|
54 |
+
],
|
55 |
+
[
|
56 |
+
8,
|
57 |
+
13
|
58 |
+
],
|
59 |
+
[
|
60 |
+
8,
|
61 |
+
14
|
62 |
+
],
|
63 |
+
[
|
64 |
+
8,
|
65 |
+
15
|
66 |
+
],
|
67 |
+
[
|
68 |
+
8,
|
69 |
+
16
|
70 |
+
],
|
71 |
+
[
|
72 |
+
8,
|
73 |
+
17
|
74 |
+
],
|
75 |
+
[
|
76 |
+
8,
|
77 |
+
18
|
78 |
+
],
|
79 |
+
[
|
80 |
+
8,
|
81 |
+
19
|
82 |
+
],
|
83 |
+
[
|
84 |
+
9,
|
85 |
+
0
|
86 |
+
],
|
87 |
+
[
|
88 |
+
9,
|
89 |
+
1
|
90 |
+
],
|
91 |
+
[
|
92 |
+
9,
|
93 |
+
2
|
94 |
+
],
|
95 |
+
[
|
96 |
+
9,
|
97 |
+
3
|
98 |
+
],
|
99 |
+
[
|
100 |
+
9,
|
101 |
+
4
|
102 |
+
],
|
103 |
+
[
|
104 |
+
9,
|
105 |
+
5
|
106 |
+
],
|
107 |
+
[
|
108 |
+
9,
|
109 |
+
6
|
110 |
+
],
|
111 |
+
[
|
112 |
+
9,
|
113 |
+
7
|
114 |
+
],
|
115 |
+
[
|
116 |
+
9,
|
117 |
+
8
|
118 |
+
],
|
119 |
+
[
|
120 |
+
9,
|
121 |
+
9
|
122 |
+
],
|
123 |
+
[
|
124 |
+
9,
|
125 |
+
10
|
126 |
+
],
|
127 |
+
[
|
128 |
+
9,
|
129 |
+
11
|
130 |
+
],
|
131 |
+
[
|
132 |
+
9,
|
133 |
+
12
|
134 |
+
],
|
135 |
+
[
|
136 |
+
9,
|
137 |
+
13
|
138 |
+
],
|
139 |
+
[
|
140 |
+
9,
|
141 |
+
14
|
142 |
+
],
|
143 |
+
[
|
144 |
+
9,
|
145 |
+
15
|
146 |
+
],
|
147 |
+
[
|
148 |
+
9,
|
149 |
+
16
|
150 |
+
],
|
151 |
+
[
|
152 |
+
9,
|
153 |
+
17
|
154 |
+
],
|
155 |
+
[
|
156 |
+
9,
|
157 |
+
18
|
158 |
+
],
|
159 |
+
[
|
160 |
+
9,
|
161 |
+
19
|
162 |
+
],
|
163 |
+
[
|
164 |
+
10,
|
165 |
+
0
|
166 |
+
],
|
167 |
+
[
|
168 |
+
10,
|
169 |
+
1
|
170 |
+
],
|
171 |
+
[
|
172 |
+
10,
|
173 |
+
2
|
174 |
+
],
|
175 |
+
[
|
176 |
+
10,
|
177 |
+
3
|
178 |
+
],
|
179 |
+
[
|
180 |
+
10,
|
181 |
+
4
|
182 |
+
],
|
183 |
+
[
|
184 |
+
10,
|
185 |
+
5
|
186 |
+
],
|
187 |
+
[
|
188 |
+
10,
|
189 |
+
6
|
190 |
+
],
|
191 |
+
[
|
192 |
+
10,
|
193 |
+
7
|
194 |
+
],
|
195 |
+
[
|
196 |
+
10,
|
197 |
+
8
|
198 |
+
],
|
199 |
+
[
|
200 |
+
10,
|
201 |
+
9
|
202 |
+
],
|
203 |
+
[
|
204 |
+
10,
|
205 |
+
10
|
206 |
+
],
|
207 |
+
[
|
208 |
+
10,
|
209 |
+
11
|
210 |
+
],
|
211 |
+
[
|
212 |
+
10,
|
213 |
+
12
|
214 |
+
],
|
215 |
+
[
|
216 |
+
10,
|
217 |
+
13
|
218 |
+
],
|
219 |
+
[
|
220 |
+
10,
|
221 |
+
14
|
222 |
+
],
|
223 |
+
[
|
224 |
+
10,
|
225 |
+
15
|
226 |
+
],
|
227 |
+
[
|
228 |
+
10,
|
229 |
+
16
|
230 |
+
],
|
231 |
[
|
232 |
10,
|
233 |
17
|
234 |
],
|
235 |
[
|
236 |
+
10,
|
237 |
18
|
238 |
],
|
239 |
[
|
240 |
+
10,
|
241 |
+
19
|
242 |
+
],
|
243 |
+
[
|
244 |
+
11,
|
245 |
+
0
|
246 |
+
],
|
247 |
+
[
|
248 |
+
11,
|
249 |
+
1
|
250 |
+
],
|
251 |
+
[
|
252 |
+
11,
|
253 |
+
2
|
254 |
+
],
|
255 |
+
[
|
256 |
+
11,
|
257 |
+
3
|
258 |
+
],
|
259 |
+
[
|
260 |
+
11,
|
261 |
+
4
|
262 |
+
],
|
263 |
+
[
|
264 |
+
11,
|
265 |
+
5
|
266 |
+
],
|
267 |
+
[
|
268 |
+
11,
|
269 |
+
6
|
270 |
+
],
|
271 |
+
[
|
272 |
+
11,
|
273 |
+
7
|
274 |
+
],
|
275 |
+
[
|
276 |
+
11,
|
277 |
+
8
|
278 |
+
],
|
279 |
+
[
|
280 |
+
11,
|
281 |
+
9
|
282 |
+
],
|
283 |
+
[
|
284 |
+
11,
|
285 |
+
10
|
286 |
+
],
|
287 |
+
[
|
288 |
+
11,
|
289 |
+
11
|
290 |
+
],
|
291 |
+
[
|
292 |
+
11,
|
293 |
12
|
294 |
],
|
295 |
[
|
296 |
+
11,
|
297 |
+
13
|
298 |
+
],
|
299 |
+
[
|
300 |
+
11,
|
301 |
+
14
|
302 |
+
],
|
303 |
+
[
|
304 |
+
11,
|
305 |
+
15
|
306 |
+
],
|
307 |
+
[
|
308 |
+
11,
|
309 |
+
16
|
310 |
+
],
|
311 |
+
[
|
312 |
+
11,
|
313 |
+
17
|
314 |
+
],
|
315 |
+
[
|
316 |
+
11,
|
317 |
+
18
|
318 |
+
],
|
319 |
+
[
|
320 |
+
11,
|
321 |
+
19
|
322 |
+
],
|
323 |
+
[
|
324 |
+
12,
|
325 |
+
0
|
326 |
+
],
|
327 |
+
[
|
328 |
+
12,
|
329 |
1
|
330 |
],
|
331 |
[
|
332 |
+
12,
|
333 |
+
2
|
334 |
+
],
|
335 |
+
[
|
336 |
+
12,
|
337 |
+
3
|
338 |
+
],
|
339 |
+
[
|
340 |
+
12,
|
341 |
+
4
|
342 |
+
],
|
343 |
+
[
|
344 |
+
12,
|
345 |
+
5
|
346 |
+
],
|
347 |
+
[
|
348 |
+
12,
|
349 |
+
6
|
350 |
+
],
|
351 |
+
[
|
352 |
+
12,
|
353 |
+
7
|
354 |
+
],
|
355 |
+
[
|
356 |
+
12,
|
357 |
+
8
|
358 |
+
],
|
359 |
+
[
|
360 |
+
12,
|
361 |
+
9
|
362 |
+
],
|
363 |
+
[
|
364 |
+
12,
|
365 |
+
10
|
366 |
+
],
|
367 |
+
[
|
368 |
+
12,
|
369 |
+
11
|
370 |
+
],
|
371 |
+
[
|
372 |
+
12,
|
373 |
+
12
|
374 |
+
],
|
375 |
+
[
|
376 |
+
12,
|
377 |
+
13
|
378 |
+
],
|
379 |
+
[
|
380 |
+
12,
|
381 |
14
|
382 |
],
|
383 |
[
|
384 |
+
12,
|
385 |
+
15
|
386 |
+
],
|
387 |
+
[
|
388 |
+
12,
|
389 |
+
16
|
390 |
+
],
|
391 |
+
[
|
392 |
+
12,
|
393 |
+
17
|
394 |
+
],
|
395 |
+
[
|
396 |
+
12,
|
397 |
+
18
|
398 |
+
],
|
399 |
+
[
|
400 |
+
12,
|
401 |
+
19
|
402 |
+
],
|
403 |
+
[
|
404 |
+
13,
|
405 |
+
0
|
406 |
+
],
|
407 |
+
[
|
408 |
+
13,
|
409 |
+
1
|
410 |
+
],
|
411 |
+
[
|
412 |
+
13,
|
413 |
+
2
|
414 |
+
],
|
415 |
+
[
|
416 |
+
13,
|
417 |
+
3
|
418 |
+
],
|
419 |
+
[
|
420 |
+
13,
|
421 |
+
4
|
422 |
+
],
|
423 |
+
[
|
424 |
+
13,
|
425 |
+
5
|
426 |
+
],
|
427 |
+
[
|
428 |
+
13,
|
429 |
+
6
|
430 |
+
],
|
431 |
+
[
|
432 |
+
13,
|
433 |
+
7
|
434 |
+
],
|
435 |
+
[
|
436 |
+
13,
|
437 |
+
8
|
438 |
+
],
|
439 |
+
[
|
440 |
+
13,
|
441 |
+
9
|
442 |
+
],
|
443 |
+
[
|
444 |
+
13,
|
445 |
+
10
|
446 |
+
],
|
447 |
+
[
|
448 |
+
13,
|
449 |
11
|
450 |
],
|
451 |
[
|
452 |
+
13,
|
453 |
+
12
|
454 |
+
],
|
455 |
+
[
|
456 |
+
13,
|
457 |
+
13
|
458 |
+
],
|
459 |
+
[
|
460 |
+
13,
|
461 |
+
14
|
462 |
+
],
|
463 |
+
[
|
464 |
+
13,
|
465 |
+
15
|
466 |
+
],
|
467 |
+
[
|
468 |
+
13,
|
469 |
+
16
|
470 |
+
],
|
471 |
+
[
|
472 |
+
13,
|
473 |
+
17
|
474 |
+
],
|
475 |
+
[
|
476 |
+
13,
|
477 |
+
18
|
478 |
+
],
|
479 |
+
[
|
480 |
+
13,
|
481 |
+
19
|
482 |
+
],
|
483 |
+
[
|
484 |
+
14,
|
485 |
+
0
|
486 |
+
],
|
487 |
+
[
|
488 |
+
14,
|
489 |
+
1
|
490 |
+
],
|
491 |
+
[
|
492 |
+
14,
|
493 |
+
2
|
494 |
+
],
|
495 |
+
[
|
496 |
+
14,
|
497 |
+
3
|
498 |
+
],
|
499 |
+
[
|
500 |
+
14,
|
501 |
4
|
502 |
],
|
503 |
[
|
504 |
+
14,
|
505 |
+
5
|
506 |
+
],
|
507 |
+
[
|
508 |
+
14,
|
509 |
+
6
|
510 |
+
],
|
511 |
+
[
|
512 |
+
14,
|
513 |
+
7
|
514 |
+
],
|
515 |
+
[
|
516 |
+
14,
|
517 |
+
8
|
518 |
+
],
|
519 |
+
[
|
520 |
+
14,
|
521 |
+
9
|
522 |
+
],
|
523 |
+
[
|
524 |
+
14,
|
525 |
+
10
|
526 |
+
],
|
527 |
+
[
|
528 |
+
14,
|
529 |
+
11
|
530 |
+
],
|
531 |
+
[
|
532 |
+
14,
|
533 |
+
12
|
534 |
+
],
|
535 |
+
[
|
536 |
+
14,
|
537 |
+
13
|
538 |
+
],
|
539 |
+
[
|
540 |
+
14,
|
541 |
+
14
|
542 |
+
],
|
543 |
+
[
|
544 |
+
14,
|
545 |
+
15
|
546 |
+
],
|
547 |
+
[
|
548 |
+
14,
|
549 |
+
16
|
550 |
+
],
|
551 |
+
[
|
552 |
+
14,
|
553 |
+
17
|
554 |
+
],
|
555 |
+
[
|
556 |
+
14,
|
557 |
+
18
|
558 |
+
],
|
559 |
+
[
|
560 |
+
14,
|
561 |
+
19
|
562 |
+
],
|
563 |
+
[
|
564 |
+
15,
|
565 |
+
0
|
566 |
+
],
|
567 |
+
[
|
568 |
+
15,
|
569 |
1
|
570 |
],
|
571 |
[
|
572 |
+
15,
|
573 |
+
2
|
574 |
+
],
|
575 |
+
[
|
576 |
+
15,
|
577 |
+
3
|
578 |
+
],
|
579 |
+
[
|
580 |
+
15,
|
581 |
+
4
|
582 |
+
],
|
583 |
+
[
|
584 |
+
15,
|
585 |
+
5
|
586 |
+
],
|
587 |
+
[
|
588 |
+
15,
|
589 |
6
|
590 |
+
],
|
591 |
+
[
|
592 |
+
15,
|
593 |
+
7
|
594 |
+
],
|
595 |
+
[
|
596 |
+
15,
|
597 |
+
8
|
598 |
+
],
|
599 |
+
[
|
600 |
+
15,
|
601 |
+
9
|
602 |
+
],
|
603 |
+
[
|
604 |
+
15,
|
605 |
+
10
|
606 |
+
],
|
607 |
+
[
|
608 |
+
15,
|
609 |
+
11
|
610 |
+
],
|
611 |
+
[
|
612 |
+
15,
|
613 |
+
12
|
614 |
+
],
|
615 |
+
[
|
616 |
+
15,
|
617 |
+
13
|
618 |
+
],
|
619 |
+
[
|
620 |
+
15,
|
621 |
+
14
|
622 |
+
],
|
623 |
+
[
|
624 |
+
15,
|
625 |
+
15
|
626 |
+
],
|
627 |
+
[
|
628 |
+
15,
|
629 |
+
16
|
630 |
+
],
|
631 |
+
[
|
632 |
+
15,
|
633 |
+
17
|
634 |
+
],
|
635 |
+
[
|
636 |
+
15,
|
637 |
+
18
|
638 |
+
],
|
639 |
+
[
|
640 |
+
15,
|
641 |
+
19
|
642 |
]
|
643 |
],
|
644 |
"lang_ids": [
|
generation_config.json
CHANGED
@@ -1,46 +1,4 @@
|
|
1 |
{
|
2 |
-
"alignment_heads": [
|
3 |
-
[
|
4 |
-
7,
|
5 |
-
0
|
6 |
-
],
|
7 |
-
[
|
8 |
-
10,
|
9 |
-
17
|
10 |
-
],
|
11 |
-
[
|
12 |
-
12,
|
13 |
-
18
|
14 |
-
],
|
15 |
-
[
|
16 |
-
13,
|
17 |
-
12
|
18 |
-
],
|
19 |
-
[
|
20 |
-
16,
|
21 |
-
1
|
22 |
-
],
|
23 |
-
[
|
24 |
-
17,
|
25 |
-
14
|
26 |
-
],
|
27 |
-
[
|
28 |
-
19,
|
29 |
-
11
|
30 |
-
],
|
31 |
-
[
|
32 |
-
21,
|
33 |
-
4
|
34 |
-
],
|
35 |
-
[
|
36 |
-
24,
|
37 |
-
1
|
38 |
-
],
|
39 |
-
[
|
40 |
-
25,
|
41 |
-
6
|
42 |
-
]
|
43 |
-
],
|
44 |
"begin_suppress_tokens": [
|
45 |
220,
|
46 |
50257
|
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"begin_suppress_tokens": [
|
3 |
220,
|
4 |
50257
|