-
Notifications
You must be signed in to change notification settings - Fork 3
/
sample.train.config
64 lines (54 loc) · 1.2 KB
/
sample.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
60
61
62
63
64
### use # to comment out the configure item
model_name=MUL_LSTM_MCA
### I/O ###
train_dir=data/tweet_new/train
dev_dir=data/tweet_new/dev
test_dir=data/tweet_new/test
model_dir=data/tweet_new/sample/model
word_emb_dir=data/embedding/glove.twitter.27B.200d.txt
object_emb_dir=data/embedding/glove.twitter.27B.200d.txt
object_dir=data/tweet_new/object_label
raw_dir=data/tweet_new/test
root_dir=data/tweet_new/sample
decode_dir=data/tweet_new/sample/test_out.txt
dset_dir=data/tweet_new/sample/model.dset
load_model_dir=data/tweet_new/sample/model.1.model
log_dir=data/tweet_new/sample/log.txt
norm_word_emb=False
norm_char_emb=False
norm_object_emb=False
number_normalized=True
seg=True
word_emb_dim=200
char_emb_dim=30
object_emb_dim=200
MAX_OBJECT_NB=4
###NetworkConfiguration###
use_crf=True
use_char=True
word_seq_feature=LSTM
char_seq_feature=CNN
#feature=[POS] emb_size=20
#feature=[Cap] emb_size=20
#nbest=1
###TrainingSetting###
status=train
optimizer=SGD
iteration=200
batch_size=10
ave_batch_loss=False
###Hyperparameters###
cnn_layer=4
char_hidden_dim=50
hidden_dim=200
multi_head=2
dropout=0.5
MCA_dropout=0.6
bilstm=True
SGA_layer=1
learning_rate=0.005
lr_decay=0.05
momentum=0
l2=1e-8
gpu=True
#clip=