hajime9652
commited on
Commit
·
522dddd
1
Parent(s):
6c9f1b7
revert model
Browse files- config.json +13 -7
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -1,23 +1,26 @@
|
|
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 |
-
"
|
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,
|
@@ -25,6 +28,9 @@
|
|
25 |
"summary_last_dropout": 0.1,
|
26 |
"summary_type": "last",
|
27 |
"summary_use_proj": true,
|
28 |
-
"
|
29 |
-
"untie_r": true
|
|
|
|
|
|
|
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 |
"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,
|
|
|
28 |
"summary_last_dropout": 0.1,
|
29 |
"summary_type": "last",
|
30 |
"summary_use_proj": true,
|
31 |
+
"transformers_version": "4.4.2",
|
32 |
+
"untie_r": true,
|
33 |
+
"use_mems_eval": true,
|
34 |
+
"use_mems_train": false,
|
35 |
+
"vocab_size": 32000
|
36 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 467039558
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:50ab3d65d2cf5657029cc081dfafd500a87684321b985b5bde27339bb0b24401
|
3 |
size 467039558
|