forked from mozilla/translations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.8.m2m.m2o.yml
39 lines (31 loc) · 1005 Bytes
/
config.8.m2m.m2o.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: fiu-gmw
name: fiu-en
langpairs:
- et-en
- fi-en
#URL to the OPUS-MT model to use as the teacher
opusmt-teacher: "https://object.pouta.csc.fi/Tatoeba-MT-models/fiu-gmw/opus-2021-02-18.zip"
# Specify if the teacher and the student are many2one
one2many-teacher: True
one2many-student: False
#URL to the OPUS-MT model to use as the backward model
opusmt-backward: "https://object.pouta.csc.fi/Tatoeba-MT-models/eng-fiu/opus2m-2020-08-01.zip"
one2many-backward: True
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