Update config.json
Browse files- config.json +48 -0
config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"XLNetForSequenceClassification"
|
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": 4096,
|
11 |
+
"d_model": 1024,
|
12 |
+
"dropout": 0.1,
|
13 |
+
"end_n_top": 5,
|
14 |
+
"eos_token_id": 2,
|
15 |
+
"ff_activation": "gelu",
|
16 |
+
"id2label": {
|
17 |
+
"0": "entailment",
|
18 |
+
"1": "neutral",
|
19 |
+
"2": "contradiction"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"label2id": {
|
23 |
+
"entailment": 0,
|
24 |
+
"neutral": 1,
|
25 |
+
"contradiction": 2
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"mem_len": null,
|
29 |
+
"model_type": "xlnet",
|
30 |
+
"n_head": 16,
|
31 |
+
"n_layer": 24,
|
32 |
+
"pad_token_id": 5,
|
33 |
+
"reuse_len": null,
|
34 |
+
"same_length": false,
|
35 |
+
"start_n_top": 5,
|
36 |
+
"summary_activation": "tanh",
|
37 |
+
"summary_last_dropout": 0.1,
|
38 |
+
"summary_type": "last",
|
39 |
+
"summary_use_proj": true,
|
40 |
+
"task_specific_params": {
|
41 |
+
"text-generation": {
|
42 |
+
"do_sample": true,
|
43 |
+
"max_length": 250
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"untie_r": true,
|
47 |
+
"vocab_size": 32000
|
48 |
+
}
|