Update generation config with word-level alignment heads
#55
by
sanchit-gandhi
HF staff
- opened
- generation_config.json +96 -2
generation_config.json
CHANGED
@@ -1,4 +1,98 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"begin_suppress_tokens": [
|
3 |
220,
|
4 |
50257
|
@@ -217,5 +311,5 @@
|
|
217 |
"transcribe": 50359,
|
218 |
"translate": 50358
|
219 |
},
|
220 |
-
"transformers_version": "4.
|
221 |
-
}
|
|
|
1 |
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
10,
|
5 |
+
12
|
6 |
+
],
|
7 |
+
[
|
8 |
+
13,
|
9 |
+
17
|
10 |
+
],
|
11 |
+
[
|
12 |
+
16,
|
13 |
+
11
|
14 |
+
],
|
15 |
+
[
|
16 |
+
16,
|
17 |
+
12
|
18 |
+
],
|
19 |
+
[
|
20 |
+
16,
|
21 |
+
13
|
22 |
+
],
|
23 |
+
[
|
24 |
+
17,
|
25 |
+
15
|
26 |
+
],
|
27 |
+
[
|
28 |
+
17,
|
29 |
+
16
|
30 |
+
],
|
31 |
+
[
|
32 |
+
18,
|
33 |
+
4
|
34 |
+
],
|
35 |
+
[
|
36 |
+
18,
|
37 |
+
11
|
38 |
+
],
|
39 |
+
[
|
40 |
+
18,
|
41 |
+
19
|
42 |
+
],
|
43 |
+
[
|
44 |
+
19,
|
45 |
+
11
|
46 |
+
],
|
47 |
+
[
|
48 |
+
21,
|
49 |
+
2
|
50 |
+
],
|
51 |
+
[
|
52 |
+
21,
|
53 |
+
3
|
54 |
+
],
|
55 |
+
[
|
56 |
+
22,
|
57 |
+
3
|
58 |
+
],
|
59 |
+
[
|
60 |
+
22,
|
61 |
+
9
|
62 |
+
],
|
63 |
+
[
|
64 |
+
22,
|
65 |
+
12
|
66 |
+
],
|
67 |
+
[
|
68 |
+
23,
|
69 |
+
5
|
70 |
+
],
|
71 |
+
[
|
72 |
+
23,
|
73 |
+
7
|
74 |
+
],
|
75 |
+
[
|
76 |
+
23,
|
77 |
+
13
|
78 |
+
],
|
79 |
+
[
|
80 |
+
25,
|
81 |
+
5
|
82 |
+
],
|
83 |
+
[
|
84 |
+
26,
|
85 |
+
1
|
86 |
+
],
|
87 |
+
[
|
88 |
+
26,
|
89 |
+
12
|
90 |
+
],
|
91 |
+
[
|
92 |
+
27,
|
93 |
+
15
|
94 |
+
]
|
95 |
+
],
|
96 |
"begin_suppress_tokens": [
|
97 |
220,
|
98 |
50257
|
|
|
311 |
"transcribe": 50359,
|
312 |
"translate": 50358
|
313 |
},
|
314 |
+
"transformers_version": "4.31.0.dev0"
|
315 |
+
}
|