nsi319 commited on
Commit
3a8a250
1 Parent(s): 29cd3e3

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +58 -0
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Education",
19
+ "1": "Entertainment",
20
+ "2": "Productivity",
21
+ "3": "Sports",
22
+ "4": "News & Magazines",
23
+ "5": "Photography"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "Education": 0,
28
+ "Entertainment": 1,
29
+ "News & Magazines": 4,
30
+ "Photography": 5,
31
+ "Productivity": 2,
32
+ "Sports": 3
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
+ "transformers_version": "4.5.1",
54
+ "untie_r": true,
55
+ "use_mems_eval": true,
56
+ "use_mems_train": false,
57
+ "vocab_size": 32000
58
+ }