Update generation config with word-level alignment heads
#29
by
sanchit-gandhi
HF staff
- opened
- generation_config.json +44 -2
generation_config.json
CHANGED
@@ -1,4 +1,46 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"begin_suppress_tokens": [
|
3 |
220,
|
4 |
50257
|
@@ -217,5 +259,5 @@
|
|
217 |
"transcribe": 50359,
|
218 |
"translate": 50358
|
219 |
},
|
220 |
-
"transformers_version": "4.
|
221 |
-
}
|
|
|
1 |
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
5,
|
5 |
+
3
|
6 |
+
],
|
7 |
+
[
|
8 |
+
5,
|
9 |
+
9
|
10 |
+
],
|
11 |
+
[
|
12 |
+
8,
|
13 |
+
0
|
14 |
+
],
|
15 |
+
[
|
16 |
+
8,
|
17 |
+
4
|
18 |
+
],
|
19 |
+
[
|
20 |
+
8,
|
21 |
+
7
|
22 |
+
],
|
23 |
+
[
|
24 |
+
8,
|
25 |
+
8
|
26 |
+
],
|
27 |
+
[
|
28 |
+
9,
|
29 |
+
0
|
30 |
+
],
|
31 |
+
[
|
32 |
+
9,
|
33 |
+
7
|
34 |
+
],
|
35 |
+
[
|
36 |
+
9,
|
37 |
+
9
|
38 |
+
],
|
39 |
+
[
|
40 |
+
10,
|
41 |
+
5
|
42 |
+
]
|
43 |
+
],
|
44 |
"begin_suppress_tokens": [
|
45 |
220,
|
46 |
50257
|
|
|
259 |
"transcribe": 50359,
|
260 |
"translate": 50358
|
261 |
},
|
262 |
+
"transformers_version": "4.31.0.dev0"
|
263 |
+
}
|