Update config.json
Browse files- config.json +31 -33
config.json
CHANGED
@@ -1,35 +1,33 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
"use_cache": true,
|
34 |
-
"vocab_size": 32000 // Changed to match XLNet's vocab size
|
35 |
}
|
|
|
1 |
{
|
2 |
+
"architectures": [
|
3 |
+
"XLNetForSequenceClassification"
|
4 |
+
],
|
5 |
+
"model_type": "xlnet",
|
6 |
+
"xlnet_config": {
|
7 |
+
"attn_type": "bi",
|
8 |
+
"bi_data": false,
|
9 |
+
"clamp_len": -1,
|
10 |
+
"d_head": 64,
|
11 |
+
"d_inner": 4096,
|
12 |
+
"d_model": 768,
|
13 |
+
"dropout": 0.1,
|
14 |
+
"end_n_top": 5,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"layer_norm_eps": 1e-12,
|
17 |
+
"mem_len": null,
|
18 |
+
"n_head": 12,
|
19 |
+
"n_layer": 12,
|
20 |
+
"reuse_len": null,
|
21 |
+
"same_length": false,
|
22 |
+
"start_n_top": 5,
|
23 |
+
"summary_activation": "tanh",
|
24 |
+
"summary_last_dropout": 0.1,
|
25 |
+
"summary_type": "last",
|
26 |
+
"summary_use_proj": true,
|
27 |
+
"vocab_size": 32000
|
28 |
+
},
|
29 |
+
"num_labels": 2,
|
30 |
+
"summary_type": "last",
|
31 |
+
"summary_use_proj": true,
|
32 |
+
"vocab_size": 32000
|
|
|
|
|
33 |
}
|