-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdemo.train.config
59 lines (50 loc) · 910 Bytes
/
demo.train.config
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
### use # to comment out the configure item
### I/O ###
train_dir=data/ned.train
dev_dir=data/ned.testa
test_dir=data/ned.testb
trans_dir=data/nl-en.txt
model_dir=data/lstmcrf
word_emb_dir=data/wiki.nl.vec
trans_embed_dir=data/glove.6B.100d.txt
norm_word_emb=False
norm_char_emb=False
word_emb_dim=300
char_emb_dim=30
trans_emb_dim=100
#raw_dir=
#decode_dir=
#dset_dir=
#load_model_dir=
#char_emb_dir=
number_normalized=True
seg=True
###NetworkConfiguration###
use_crf=True
use_char=True
use_trans=True
word_seq_feature=LSTM
char_seq_feature=LSTM
#feature=[POS] emb_size=20
#feature=[Cap] emb_size=20
nbest=1
###TrainingSetting###
status=train
optimizer=SGD
iteration=100
batch_size=16
ave_batch_loss=False
###Hyperparameters###
cnn_layer=4
char_hidden_dim=50
trans_hidden_dim=50
hidden_dim=200
dropout=0.5
lstm_layer=1
bilstm=True
learning_rate=0.015
lr_decay=0.05
momentum=0
l2=1e-8
gpu=True
#clip=