forked from mozilla/translations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.3.o2m.o2m.yml
39 lines (31 loc) · 1008 Bytes
/
config.3.o2m.o2m.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
####
# Example of a production config
# Change language pair, experiment name, datasets and other settings if needed
# Training low resource languages might require more tuning of pipeline/training/configs
###
experiment:
dirname: eng-fiu
name: eng-fiu
langpairs:
- en-fi
- en-et
#URL to the OPUS-MT model to use as the teacher
opusmt-teacher: "https://object.pouta.csc.fi/Tatoeba-MT-models/eng-fiu/opus2m-2020-08-01.zip"
# Specify if the teacher and the student are many2one
one2many-teacher: True
one2many-student: True
#URL to the OPUS-MT model to use as the backward model
opusmt-backward: "https://object.pouta.csc.fi/Tatoeba-MT-models/fiu-eng/opus4m-2020-08-12.zip"
one2many-backward: False
teacher-ensemble: 1
parallel-max-sentences: 100000
split-length: 10000
spm-vocab-size: 400 #Because we are dealing with very little data
best-model: perplexity
datasets:
train:
- opus_ELRC_2922/v1
devtest:
- flores_dev
test:
- flores_devtest