-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.cfg
43 lines (38 loc) · 990 Bytes
/
default.cfg
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
[data]
train_data = /home/clementine/projects/treebanks/ctb51_zpar/train.conll
dev_data = /home/clementine/projects/treebanks/ctb51_zpar/dev.conll
test_data = /home/clementine/projects/treebanks/ctb51_zpar/test.conll
word_emb = /home/clementine/projects/treebanks/ctb51_zpar/pretrained/ctb.100.vec
[network]
lstm_layers = 3
word_dims = 100
tag_dims = 100
dropout_emb = 0.33
lstm_hiddens = 400
dropout_lstm_input = 0.33
dropout_lstm_hidden = 0.33
mlp_arc_size = 500
mlp_rel_size = 100
dropout_mlp = 0.33
[trainer]
learning_rate = 2e-3
decay = .75
decay_steps = 5000
beta_1 = .9
beta_2 = .9
epsilon = 1e-12
[save]
save_dir = save
save_config_file = ${save:save_dir}/config.cfg
save_model_path = ${save:save_dir}/model
records_path = ${save:save_dir}/record
[load]
load_dir = ${save:save_dir}
load_model_path = ${save:save_dir}/model
test_output = ${save:save_dir}/test.conll
[run]
train_iters = 50000
train_batch_size = 5000
test_batch_size = 5000
validate_every = 100
save_after = 5000