mohsenfayyaz commited on
Commit
a26deef
1 Parent(s): e0830b3

XLNet From zihangdai git

Browse files
Files changed (2) hide show
  1. config.json +36 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "torch_model",
3
+ "architectures": [
4
+ "XLNetModel"
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": "gelu",
17
+ "initializer_range": 0.02,
18
+ "layer_norm_eps": 1e-12,
19
+ "mem_len": 512,
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
+ "transformers_version": "4.7.0",
32
+ "untie_r": true,
33
+ "use_mems_eval": true,
34
+ "use_mems_train": false,
35
+ "vocab_size": 32000
36
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:653e515a490894aecac1c570e33a72ee9cac659d017b2f6a10ceef675fdc04b6
3
+ size 466939941