-
Notifications
You must be signed in to change notification settings - Fork 88
/
Copy pathconfig.json
47 lines (47 loc) · 927 Bytes
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"data_dir": "dataset/tacred",
"vocab_dir": "dataset/vocab",
"emb_dim": 300,
"ner_dim": 30,
"pos_dim": 30,
"hidden_dim": 300,
"num_layers": 2,
"input_dropout": 0.5,
"gcn_dropout": 0.5,
"word_dropout": 0.04,
"topn": 10000000000.0,
"lower": false,
"heads": 3,
"sublayer_first": 2,
"sublayer_second": 4,
"prune_k": -1,
"pooling": "max",
"pooling_l2": 0.002,
"mlp_layers": 1,
"no_adj": false,
"rnn": true,
"rnn_hidden": 300,
"rnn_layers": 1,
"rnn_dropout": 0.5,
"lr": 0.7,
"lr_decay": 0.9,
"decay_epoch": 5,
"optim": "sgd",
"num_epoch": 100,
"batch_size": 50,
"max_grad_norm": 5.0,
"log_step": 20,
"log": "logs.txt",
"save_epoch": 100,
"save_dir": "./saved_models",
"id": "1",
"info": "",
"seed": 0,
"cuda": true,
"cpu": false,
"load": false,
"model_file": null,
"num_class": 42,
"vocab_size": 53953,
"model_save_dir": "./saved_models/01"
}