hajime9652
commited on
Commit
·
a384a3d
1
Parent(s):
0eaa7d6
revert config
Browse files- config.json +13 -1
config.json
CHANGED
@@ -1,23 +1,31 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
2 |
"attn_type": "bi",
|
3 |
"bi_data": false,
|
|
|
4 |
"clamp_len": -1,
|
5 |
"d_head": 64,
|
6 |
"d_inner": 3072,
|
7 |
"d_model": 768,
|
8 |
"dropout": 0.1,
|
9 |
"end_n_top": 5,
|
|
|
10 |
"ff_activation": "relu",
|
11 |
"finetuning_task": null,
|
12 |
"initializer_range": 0.02,
|
13 |
"layer_norm_eps": 1e-12,
|
14 |
"mem_len": null,
|
|
|
15 |
"n_head": 12,
|
16 |
"n_layer": 12,
|
17 |
"n_token": 32000,
|
18 |
"num_labels": 2,
|
19 |
"output_attentions": false,
|
20 |
"output_hidden_states": false,
|
|
|
21 |
"reuse_len": null,
|
22 |
"same_length": false,
|
23 |
"start_n_top": 5,
|
@@ -26,5 +34,9 @@
|
|
26 |
"summary_type": "last",
|
27 |
"summary_use_proj": true,
|
28 |
"torchscript": false,
|
29 |
-
"
|
|
|
|
|
|
|
|
|
30 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./backend/PyTorch",
|
3 |
+
"architectures": [
|
4 |
+
"XLNetLMHeadModel"
|
5 |
+
],
|
6 |
"attn_type": "bi",
|
7 |
"bi_data": false,
|
8 |
+
"bos_token_id": 1,
|
9 |
"clamp_len": -1,
|
10 |
"d_head": 64,
|
11 |
"d_inner": 3072,
|
12 |
"d_model": 768,
|
13 |
"dropout": 0.1,
|
14 |
"end_n_top": 5,
|
15 |
+
"eos_token_id": 2,
|
16 |
"ff_activation": "relu",
|
17 |
"finetuning_task": null,
|
18 |
"initializer_range": 0.02,
|
19 |
"layer_norm_eps": 1e-12,
|
20 |
"mem_len": null,
|
21 |
+
"model_type": "xlnet",
|
22 |
"n_head": 12,
|
23 |
"n_layer": 12,
|
24 |
"n_token": 32000,
|
25 |
"num_labels": 2,
|
26 |
"output_attentions": false,
|
27 |
"output_hidden_states": false,
|
28 |
+
"pad_token_id": 5,
|
29 |
"reuse_len": null,
|
30 |
"same_length": false,
|
31 |
"start_n_top": 5,
|
|
|
34 |
"summary_type": "last",
|
35 |
"summary_use_proj": true,
|
36 |
"torchscript": false,
|
37 |
+
"transformers_version": "4.4.2",
|
38 |
+
"untie_r": true,
|
39 |
+
"use_mems_eval": true,
|
40 |
+
"use_mems_train": false,
|
41 |
+
"vocab_size": 32000
|
42 |
}
|