-
Notifications
You must be signed in to change notification settings - Fork 117
/
config.yml
50 lines (50 loc) · 1.23 KB
/
config.yml
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
data_params:
path_result: ./data/test.ner.txt.result
path_test: ./data/test.ner.txt
path_train: ./data/train.ner.txt
sep: table
voc_params:
char: {min_count: 0, path: ./Res/voc/char.voc.pkl}
f1: {min_count: 0, path: ./Res/voc/f1.voc.pkl}
f2: {min_count: 0, path: ./Res/voc/f2.voc.pkl}
label: {min_count: 0, path: ./Res/voc/label.voc.pkl}
model: NER
model_params:
batch_size: 64
bilstm_params: {num_layers: 1, num_units: 256, rnn_dropout: 0.2}
clip: 10
dev_size: 0.1
dropout_rate: 0.5
embed_params:
char:
dropout_rate: 0.3
path: null
path_pre_train: null
shape: [85, 16]
f1:
dropout_rate: 0.3
path: ./Res/embed/char_embed.pkl
path_pre_train: ./data/embedding.txt
shape: [8818, 64]
f2:
dropout_rate: 0.3
path: null
path_pre_train: null
shape: [6, 32]
feature_names: [f1]
l2_rate: 0.001
learning_rate: 0.002
max_patience: 5
nb_classes: 6
nb_epoch: 200
path_model: ./Model/best_model
rnn_unit: lstm
sequence_len_pt: 98
sequence_length: 55
use_char_feature: false
conv_filter_size_list: [8, 8, 8, 8, 8]
conv_filter_len_list: [1, 2, 3, 4, 5]
conv_dropout: 0.2
use_crf: true
word_len_pt: 95
word_length: 11