Update config.json
Browse files- config.json +7 -2
config.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"TransfoXLLMHeadModel"
|
| 4 |
],
|
| 5 |
-
"adaptive": true,
|
| 6 |
"attn_type": 0,
|
| 7 |
"clamp_len": 1000,
|
| 8 |
"cutoffs": [
|
|
@@ -29,6 +29,11 @@
|
|
| 29 |
"proj_init_std": 0.01,
|
| 30 |
"same_length": true,
|
| 31 |
"sample_softmax": -1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
"tgt_len": 128,
|
| 33 |
"tie_projs": [
|
| 34 |
false,
|
|
@@ -38,4 +43,4 @@
|
|
| 38 |
],
|
| 39 |
"tie_weight": true,
|
| 40 |
"untie_r": true
|
| 41 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"adaptive": true,
|
| 3 |
"architectures": [
|
| 4 |
"TransfoXLLMHeadModel"
|
| 5 |
],
|
|
|
|
| 6 |
"attn_type": 0,
|
| 7 |
"clamp_len": 1000,
|
| 8 |
"cutoffs": [
|
|
|
|
| 29 |
"proj_init_std": 0.01,
|
| 30 |
"same_length": true,
|
| 31 |
"sample_softmax": -1,
|
| 32 |
+
"task_specific_params": {
|
| 33 |
+
"text_generation": {
|
| 34 |
+
"max_length": 210
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
"tgt_len": 128,
|
| 38 |
"tie_projs": [
|
| 39 |
false,
|
|
|
|
| 43 |
],
|
| 44 |
"tie_weight": true,
|
| 45 |
"untie_r": true
|
| 46 |
+
}
|