-
Notifications
You must be signed in to change notification settings - Fork 26
/
config_s2s.json
68 lines (58 loc) · 1.6 KB
/
config_s2s.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
{
"finetune_path": "",
"train_path": "data/training.json",
"test_path": "data/dev.json",
"enc_word_vec_path": "data/vectors_RwNN.txt.st",
"dec_word_vec_path": "data/vectors_RwNN.txt.st",
"suffix": "gold",
"model_dir": "logs_s2s",
"isLower": true,
"two_sent_inputs": false,
"direction": "bidir",
"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": 100,
"batch_size": 20,
"learning_rate": 0.001,
"lambda_l2": 0.001,
"dropout_rate": 0.2,
"max_epochs": 50,
"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_lex_decomposition": false,
"lex_decompsition_dim": 50,
"with_question_passage_word_feature": false,
"with_phrase_projection": false,
"with_highway": false,
"highway_layer_num": 1,
"with_match_highway": false,
"with_aggregation_highway": false,
"with_word": true,
"with_char": true,
"with_POS": false,
"with_NER": false,
"POS_dim": 20,
"NER_dim": 20,
"char_dim": 50,
"char_lstm_dim": 100,
"compress_input": false,
"compress_input_dim": 300,
"fix_word_vec": true,
"max_passage_len": 100,
"max_char_per_word": 20,
"gen_hidden_size": 300,
"num_softmax_samples": 100,
"mode": "ce_train",
"config_path": "config.json",
"generate_config": false
}