Update config.json
Browse files- config.json +9 -0
config.json
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
{
|
|
|
|
|
|
|
2 |
"attn_type": "bi",
|
3 |
"bi_data": false,
|
4 |
"bos_token_id": 1,
|
@@ -24,6 +27,12 @@
|
|
24 |
"summary_last_dropout": 0.1,
|
25 |
"summary_type": "last",
|
26 |
"summary_use_proj": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
"untie_r": true,
|
28 |
"vocab_size": 32000
|
29 |
}
|
|
|
1 |
{
|
2 |
+
"architectures": [
|
3 |
+
"XLNetLMHeadModel"
|
4 |
+
],
|
5 |
"attn_type": "bi",
|
6 |
"bi_data": false,
|
7 |
"bos_token_id": 1,
|
|
|
27 |
"summary_last_dropout": 0.1,
|
28 |
"summary_type": "last",
|
29 |
"summary_use_proj": true,
|
30 |
+
"task_specific_params": {
|
31 |
+
"text-generation": {
|
32 |
+
"do_sample": true,
|
33 |
+
"max_length": 250
|
34 |
+
}
|
35 |
+
},
|
36 |
"untie_r": true,
|
37 |
"vocab_size": 32000
|
38 |
}
|