-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathword-level.yaml
52 lines (52 loc) · 931 Bytes
/
word-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
ngram: 1
subword: false
seed: 43
max_epochs: 1000
batch_size: 32
dev_batch_size: 32
vocab:
size: 5000
threshold: 0
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: Embedder
dropout: 0.4
in_sizes:
- dunno
out_sizes:
- 200
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: true
collapse_triples: true
lowercase: true
expand_diacritics: false
remove_diacritics: false
train_buckets:
bucket_width: 5
right_leak: 5
checkpoint:
patience: 20
every: 100