Add forced decoder ids
#2
by
sanchit-gandhi
HF staff
- opened
- config.json +18 -0
config.json
CHANGED
@@ -23,6 +23,24 @@
|
|
23 |
"encoder_layerdrop": 0.0,
|
24 |
"encoder_layers": 32,
|
25 |
"eos_token_id": 50256,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
"init_std": 0.02,
|
27 |
"is_encoder_decoder": true,
|
28 |
"max_source_positions": 1500,
|
|
|
23 |
"encoder_layerdrop": 0.0,
|
24 |
"encoder_layers": 32,
|
25 |
"eos_token_id": 50256,
|
26 |
+
"forced_decoder_ids": [
|
27 |
+
[
|
28 |
+
1,
|
29 |
+
50258
|
30 |
+
],
|
31 |
+
[
|
32 |
+
2,
|
33 |
+
50259
|
34 |
+
],
|
35 |
+
[
|
36 |
+
3,
|
37 |
+
50359
|
38 |
+
],
|
39 |
+
[
|
40 |
+
4,
|
41 |
+
50363
|
42 |
+
]
|
43 |
+
],
|
44 |
"init_std": 0.02,
|
45 |
"is_encoder_decoder": true,
|
46 |
"max_source_positions": 1500,
|