-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcnn-char-level.yaml
59 lines (59 loc) · 1.21 KB
/
cnn-char-level.yaml
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
seed: 43
ngram: 1
subword: true
max_epochs: 1000
batch_size: 32
dev_batch_size: 32
vocab:
size: 200
threshold: 10
dataset:
name: CONLL2017_v2_0
lang: English
model:
$module: johnny.models
$classname: GraphParser
encoder:
$module: johnny.components
$classname: SentenceEncoder
dropout: 0.6
embedder:
$module: johnny.components
$classname: SubwordEmbedder
dropout: 0.0
word_encoder:
$module: johnny.components
$classname: CNNWordEncoder
vocab_size: dunno
embed_units: 15
batch_norm: true
ngrams: [1, 2, 3, 4, 5, 6]
# num_filters: [25, 50, 75, 100, 125, 150]
num_filters: [20, 45, 70, 95, 120, 145]
num_highway_layers: 1
highway_dropout: 0.2
num_layers: 2
num_units: 200
use_bilstm: true
mlp_arc_units: 100
mlp_lbl_units: 100
arc_dropout: 0.2
lbl_dropout: 0.6
num_labels: dunno
treeify: none
predict_pos: true
optimizer:
grad_clip: 5
learning_rate: 0.001
preprocess:
collapse_nums: false
collapse_triples: false
lowercase: true
expand_diacritics: true
remove_diacritics: false
train_buckets:
bucket_width: 5
right_leak: 5
checkpoint:
patience: 20
every: 100