Update config.json
Browse files- config.json +39 -0
config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"XLNetLMHeadModel"
|
| 4 |
+
],
|
| 5 |
+
"attn_type": "bi",
|
| 6 |
+
"bi_data": false,
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"clamp_len": -1,
|
| 9 |
+
"d_head": 64,
|
| 10 |
+
"d_inner": 3072,
|
| 11 |
+
"d_model": 768,
|
| 12 |
+
"dropout": 0.1,
|
| 13 |
+
"end_n_top": 5,
|
| 14 |
+
"eos_token_id": 2,
|
| 15 |
+
"ff_activation": "gelu",
|
| 16 |
+
"finetuning_task": "rotten_tomatoes",
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"layer_norm_eps": 1e-12,
|
| 19 |
+
"mem_len": null,
|
| 20 |
+
"model_type": "xlnet",
|
| 21 |
+
"n_head": 12,
|
| 22 |
+
"n_layer": 12,
|
| 23 |
+
"pad_token_id": 5,
|
| 24 |
+
"reuse_len": null,
|
| 25 |
+
"same_length": false,
|
| 26 |
+
"start_n_top": 5,
|
| 27 |
+
"summary_activation": "tanh",
|
| 28 |
+
"summary_last_dropout": 0.1,
|
| 29 |
+
"summary_type": "last",
|
| 30 |
+
"summary_use_proj": true,
|
| 31 |
+
"task_specific_params": {
|
| 32 |
+
"text-generation": {
|
| 33 |
+
"do_sample": true,
|
| 34 |
+
"max_length": 250
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"untie_r": true,
|
| 38 |
+
"vocab_size": 32000
|
| 39 |
+
}
|