forked from lium-lst/nmtpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwmt16-mmt-task1-monomodal.conf
46 lines (37 loc) · 1.06 KB
/
wmt16-mmt-task1-monomodal.conf
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
[training]
model_type: attention
patience: 20
max_epochs: 100
valid_freq: 1000
valid_metric: meteor
decay_c: 1e-5
clip_c: 5
seed: 1235
[model]
tied_trg_emb: True
layer_norm: True
shuffle_mode: trglen
emb_dropout: 0.2
ctx_dropout: 0.4
out_dropout: 0.4
rnn_dim: 100
embedding_dim: 100
weight_init: xavier
batch_size: 32
optimizer: adam
lrate: 0.0004
filter: bpe
n_words_src: 0
n_words_trg: 0
save_path: ~/nmtpy/models
[model.dicts]
src: ~/nmtpy/data/wmt16-task1/train.norm.max50.tok.lc.bpe.en.pkl
trg: ~/nmtpy/data/wmt16-task1/train.norm.max50.tok.lc.bpe.de.pkl
[model.data]
train_src : ~/nmtpy/data/wmt16-task1/train.norm.max50.tok.lc.bpe.en
train_trg : ~/nmtpy/data/wmt16-task1/train.norm.max50.tok.lc.bpe.de
valid_src : ~/nmtpy/data/wmt16-task1/val.norm.tok.lc.bpe.en
# This is for loss computation in training. This is the actual reference file
valid_trg : ~/nmtpy/data/wmt16-task1/val.norm.tok.lc.bpe.de
# This is the same file with BPE reverted to be used by nmt-translate for metric computation
valid_trg_orig: ~/nmtpy/data/wmt16-task1/val.norm.tok.lc.de