Update generation config with word-level alignment heads
#20
by
sanchit-gandhi
HF staff
- opened
- generation_config.json +28 -2
generation_config.json
CHANGED
@@ -1,4 +1,30 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"begin_suppress_tokens": [
|
3 |
220,
|
4 |
50257
|
@@ -216,5 +242,5 @@
|
|
216 |
"transcribe": 50359,
|
217 |
"translate": 50358
|
218 |
},
|
219 |
-
"transformers_version": "4.
|
220 |
-
}
|
|
|
1 |
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
13,
|
5 |
+
15
|
6 |
+
],
|
7 |
+
[
|
8 |
+
15,
|
9 |
+
4
|
10 |
+
],
|
11 |
+
[
|
12 |
+
15,
|
13 |
+
15
|
14 |
+
],
|
15 |
+
[
|
16 |
+
16,
|
17 |
+
1
|
18 |
+
],
|
19 |
+
[
|
20 |
+
20,
|
21 |
+
0
|
22 |
+
],
|
23 |
+
[
|
24 |
+
23,
|
25 |
+
4
|
26 |
+
]
|
27 |
+
],
|
28 |
"begin_suppress_tokens": [
|
29 |
220,
|
30 |
50257
|
|
|
242 |
"transcribe": 50359,
|
243 |
"translate": 50358
|
244 |
},
|
245 |
+
"transformers_version": "4.31.0.dev0"
|
246 |
+
}
|