Commit
·
1135fb8
1
Parent(s):
aaf41dd
Update generation config with word-level alignment heads (#29)
Browse files- Upload config (ccda8cc8b137d58877e2235411384d4c6c90cfaf)
- generation_config.json +28 -2
generation_config.json
CHANGED
|
@@ -1,4 +1,30 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"begin_suppress_tokens": [
|
| 3 |
220,
|
| 4 |
50257
|
|
@@ -217,5 +243,5 @@
|
|
| 217 |
"transcribe": 50359,
|
| 218 |
"translate": 50358
|
| 219 |
},
|
| 220 |
-
"transformers_version": "4.
|
| 221 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"alignment_heads": [
|
| 3 |
+
[
|
| 4 |
+
2,
|
| 5 |
+
2
|
| 6 |
+
],
|
| 7 |
+
[
|
| 8 |
+
3,
|
| 9 |
+
0
|
| 10 |
+
],
|
| 11 |
+
[
|
| 12 |
+
3,
|
| 13 |
+
2
|
| 14 |
+
],
|
| 15 |
+
[
|
| 16 |
+
3,
|
| 17 |
+
3
|
| 18 |
+
],
|
| 19 |
+
[
|
| 20 |
+
3,
|
| 21 |
+
4
|
| 22 |
+
],
|
| 23 |
+
[
|
| 24 |
+
3,
|
| 25 |
+
5
|
| 26 |
+
]
|
| 27 |
+
],
|
| 28 |
"begin_suppress_tokens": [
|
| 29 |
220,
|
| 30 |
50257
|
|
|
|
| 243 |
"transcribe": 50359,
|
| 244 |
"translate": 50358
|
| 245 |
},
|
| 246 |
+
"transformers_version": "4.31.0.dev0"
|
| 247 |
+
}
|