Adeptschneider
commited on
Commit
•
aafecee
1
Parent(s):
d9776fb
Update config.yaml
Browse files- config.yaml +7 -7
config.yaml
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
name: "dyu_fr_transformer-sp"
|
3 |
joeynmt_version: "2.3.0"
|
4 |
model_dir: "saved_model/dyu_fr"
|
5 |
-
use_cuda:
|
6 |
-
fp16:
|
7 |
|
8 |
data:
|
9 |
train: "data/dyu_fr"
|
@@ -21,10 +21,10 @@ data:
|
|
21 |
level: "bpe"
|
22 |
voc_limit: 4000
|
23 |
voc_min_freq: 1
|
24 |
-
voc_file: "
|
25 |
tokenizer_type: "sentencepiece"
|
26 |
tokenizer_cfg:
|
27 |
-
model_file: "
|
28 |
trg:
|
29 |
lang: "fr"
|
30 |
max_length: 100
|
@@ -33,10 +33,10 @@ data:
|
|
33 |
level: "bpe"
|
34 |
voc_limit: 4000
|
35 |
voc_min_freq: 1
|
36 |
-
voc_file:
|
37 |
tokenizer_type: "sentencepiece"
|
38 |
tokenizer_cfg:
|
39 |
-
model_file: "
|
40 |
special_symbols:
|
41 |
unk_token: "<unk>"
|
42 |
unk_id: 0
|
@@ -63,7 +63,7 @@ testing:
|
|
63 |
tokenize: "13a"
|
64 |
|
65 |
training:
|
66 |
-
load_model: "joeynmt-models-v11.0/30600.ckpt"
|
67 |
#reset_best_ckpt: False
|
68 |
#reset_scheduler: False
|
69 |
#reset_optimizer: False
|
|
|
2 |
name: "dyu_fr_transformer-sp"
|
3 |
joeynmt_version: "2.3.0"
|
4 |
model_dir: "saved_model/dyu_fr"
|
5 |
+
use_cuda: False # False for CPU training
|
6 |
+
fp16: False
|
7 |
|
8 |
data:
|
9 |
train: "data/dyu_fr"
|
|
|
21 |
level: "bpe"
|
22 |
voc_limit: 4000
|
23 |
voc_min_freq: 1
|
24 |
+
voc_file: "./models/vocab.txt"
|
25 |
tokenizer_type: "sentencepiece"
|
26 |
tokenizer_cfg:
|
27 |
+
model_file: "./models/sp.model"
|
28 |
trg:
|
29 |
lang: "fr"
|
30 |
max_length: 100
|
|
|
33 |
level: "bpe"
|
34 |
voc_limit: 4000
|
35 |
voc_min_freq: 1
|
36 |
+
voc_file:"./models/vocab.txt"
|
37 |
tokenizer_type: "sentencepiece"
|
38 |
tokenizer_cfg:
|
39 |
+
model_file: "./models/sp.model"
|
40 |
special_symbols:
|
41 |
unk_token: "<unk>"
|
42 |
unk_id: 0
|
|
|
63 |
tokenize: "13a"
|
64 |
|
65 |
training:
|
66 |
+
# load_model: "joeynmt-models-v11.0/30600.ckpt"
|
67 |
#reset_best_ckpt: False
|
68 |
#reset_scheduler: False
|
69 |
#reset_optimizer: False
|