forked from freesunshine0316/MPQG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
87 lines (76 loc) · 2.12 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"train_path": "data/train_sent_pre.json",
"test_path": "data/dev_sent_pre.json",
"word_vec_path": "data/vectors.txt.st",
"suffix": "sota",
"model_dir": "logs",
"isLower": true,
"two_sent_inputs": true,
"pointer_gen": true,
"use_coverage": true,
"switch_qa": false,
"attention_vec_size": 300,
"cov_loss_wt": 0.1,
"beam_size": 20,
"min_answer_len": 0,
"max_answer_len": 20,
"batch_size": 50,
"learning_rate": 0.001,
"lambda_l2": 1e-8,
"dropout_rate": 0.1,
"max_epochs": 20,
"optimize_type": "adam",
"with_filter_layer": true,
"filter_layer_threshold": 0.2,
"with_word_match": true,
"with_sequential_match": true,
"context_layer_num": 1,
"context_lstm_dim": 300,
"with_aggregation": true,
"aggregation_layer_num": 1,
"aggregation_lstm_dim": 300,
"with_full_matching": true,
"with_attentive_matching": true,
"with_max_attentive_matching": true,
"with_maxpooling_matching": false,
"with_forward_match": true,
"with_backward_match": true,
"with_local_attentive_matching": false,
"win_size": 3,
"with_lex_decomposition": false,
"lex_decompsition_dim": 50,
"with_question_passage_word_feature": false,
"with_phrase_projection": false,
"with_cosine": true,
"with_euclidean": false,
"with_subtract": false,
"with_multiply": false,
"with_nn_match": false,
"nn_match_dim": 20,
"with_mp_cosine": true,
"cosine_MP_dim": 5,
"with_mp_euclidean": false,
"euclidean_MP_dim": 10,
"with_highway": true,
"highway_layer_num": 1,
"with_match_highway": true,
"with_aggregation_highway": true,
"with_word": true,
"with_char": false,
"with_POS": false,
"with_NER": false,
"POS_dim": 20,
"NER_dim": 10,
"char_dim": 50,
"char_lstm_dim": 100,
"compress_input": true,
"compress_input_dim": 300,
"fix_word_vec": true,
"max_passage_len": 600,
"max_char_per_word": 10,
"gen_hidden_size": 300,
"num_softmax_samples": 1000,
"mode": "ce_train",
"config_path": "config.json",
"generate_config": false
}