Rajashreee commited on
Commit
1055981
1 Parent(s): b58a4cd

Upload XLNetForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +59 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlnet-base-cased",
3
+ "architectures": [
4
+ "XLNetForSequenceClassification"
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
+ "id2label": {
18
+ "0": "LABEL_0",
19
+ "1": "LABEL_1",
20
+ "2": "LABEL_2",
21
+ "3": "LABEL_3",
22
+ "4": "LABEL_4",
23
+ "5": "LABEL_5"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2,
30
+ "LABEL_3": 3,
31
+ "LABEL_4": 4,
32
+ "LABEL_5": 5
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "mem_len": null,
36
+ "model_type": "xlnet",
37
+ "n_head": 12,
38
+ "n_layer": 12,
39
+ "pad_token_id": 5,
40
+ "reuse_len": null,
41
+ "same_length": false,
42
+ "start_n_top": 5,
43
+ "summary_activation": "tanh",
44
+ "summary_last_dropout": 0.1,
45
+ "summary_type": "last",
46
+ "summary_use_proj": true,
47
+ "task_specific_params": {
48
+ "text-generation": {
49
+ "do_sample": true,
50
+ "max_length": 250
51
+ }
52
+ },
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.33.3",
55
+ "untie_r": true,
56
+ "use_mems_eval": true,
57
+ "use_mems_train": false,
58
+ "vocab_size": 32000
59
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2e4df1178ff9fe6f28700e310c34d057d8c251b529a2a867e477c336c431da3
3
+ size 469321109