Skip to content

Commit

Permalink
Add models for French (#53)
Browse files Browse the repository at this point in the history
* Add models for French

* Update evaluation results [skip ci]

* Update model registry [skip ci]

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
  • Loading branch information
eu9ene and CircleCI evaluation job authored Jun 23, 2022
1 parent 29da11a commit 985f4bb
Show file tree
Hide file tree
Showing 82 changed files with 171 additions and 18 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ Suffix of the model file in the registry:
- Portuguese <-> English
- Italian <-> English
- Polish <-> English
- French <-> English

## Dev
- Russian <-> English
Expand All @@ -91,4 +92,4 @@ Suffix of the model file in the registry:
- Ukrainian <-> English

## Upcoming
- French <-> English
- Dutch <-> English
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/flores-dev.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
48.5
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/flores-dev.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
41.3
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/flores-dev.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
52.5
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/flores-test.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
48.7
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/flores-test.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
41.8
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/flores-test.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
52.7
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/iwslt17.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
38.6
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/iwslt17.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
28.0
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/iwslt17.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
36.5
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt08.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
25.5
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt08.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.7
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt08.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
25.1
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt09.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
28.8
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt09.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
23.5
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt09.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
28.2
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt10.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
31.0
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt10.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
26.6
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt10.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
33.0
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt11.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
33.6
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt11.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
27.5
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt11.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
32.1
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt12.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
31.4
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt12.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
25.1
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt12.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
29.6
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt13.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
33.4
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt13.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
26.5
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt13.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
31.5
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt14.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
39.7
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt14.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
32.6
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt14.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
40.4
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt15.bergamot.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
36.9
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt15.google.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
30.6
1 change: 1 addition & 0 deletions evaluation/prod/en-fr/wmt15.microsoft.fr.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
39.7
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/flores-dev.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
43.8
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/flores-dev.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
48.7
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/flores-dev.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
48.9
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/flores-test.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
42.1
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/flores-test.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
46.7
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/flores-test.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
47.0
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/iwslt17.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
39.8
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/iwslt17.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
40.6
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/iwslt17.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
41.8
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/mtedx_test.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
42.8
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/mtedx_test.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
42.7
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/mtedx_test.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
46.4
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt08.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.5
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt08.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
26.6
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt08.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
27.4
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt09.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
29.1
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt09.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
31.2
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt09.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
32.2
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt10.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
31.4
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt10.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
34.1
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt10.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
35.0
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt11.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
32.0
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt11.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
34.3
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt11.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
35.2
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt12.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
31.9
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt12.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
33.8
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt12.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
34.6
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt13.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
33.3
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt13.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
34.5
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt13.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
36.1
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt14.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
37.3
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt14.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
40.6
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt14.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
42.3
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt15.bergamot.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
37.2
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt15.google.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
39.9
1 change: 1 addition & 0 deletions evaluation/prod/fr-en/wmt15.microsoft.en.bleu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
42.7
Binary file modified evaluation/prod/img/avg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added evaluation/prod/img/en-fr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added evaluation/prod/img/fr-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 25 additions & 5 deletions evaluation/prod/results.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,24 @@ Both absolute and relative differences in BLEU scores between Bergamot and other

## avg

| Translator/Dataset | es-en | en-pl | nb-en | bg-en | pt-en | it-en | et-en | en-cs | cs-en | en-it | pl-en | de-en | en-es | en-pt | en-et | en-bg | en-de |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| bergamot | 32.38 | 22.27 | 37.60 | 38.50 | 44.87 | 32.67 | 32.37 | 24.65 | 30.34 | 29.77 | 27.87 | 33.51 | 32.41 | 49.85 | 25.50 | 42.10 | 32.27 |
| google | 33.64 (+1.27, +3.91%) | 25.50 (+3.23, +14.52%) | 42.05 (+4.45, +11.84%) | 41.30 (+2.80, +7.27%) | 46.60 (+1.73, +3.86%) | 34.50 (+1.83, +5.59%) | 35.80 (+3.43, +10.61%) | 26.73 (+2.09, +8.47%) | 32.40 (+2.06, +6.80%) | 28.97 (-0.80, -2.69%) | 31.23 (+3.37, +12.08%) | 35.98 (+2.48, +7.39%) | 34.74 (+2.32, +7.17%) | 53.75 (+3.90, +7.82%) | 28.60 (+3.10, +12.16%) | 44.60 (+2.50, +5.94%) | 33.05 (+0.77, +2.40%) |
| microsoft | 32.93 (+0.56, +1.72%) | 24.83 (+2.57, +11.53%) | 42.90 (+5.30, +14.10%) | 41.20 (+2.70, +7.01%) | 46.47 (+1.60, +3.57%) | 34.55 (+1.88, +5.74%) | 36.17 (+3.80, +11.74%) | 27.75 (+3.11, +12.60%) | 33.53 (+3.19, +10.53%) | 32.30 (+2.53, +8.51%) | 31.83 (+3.97, +14.23%) | 38.21 (+4.70, +14.03%) | 33.76 (+1.35, +4.17%) | 50.15 (+0.30, +0.60%) | 28.47 (+2.97, +11.63%) | 38.55 (-3.55, -8.43%) | 33.54 (+1.27, +3.93%) |
| Translator/Dataset | en-fr | es-en | en-pl | nb-en | bg-en | pt-en | it-en | et-en | fr-en | en-cs | cs-en | en-it | pl-en | de-en | en-es | en-pt | en-et | en-bg | en-de |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| bergamot | 36.01 | 32.38 | 22.27 | 37.60 | 38.50 | 44.87 | 32.67 | 32.37 | 35.43 | 24.65 | 30.34 | 29.77 | 27.87 | 33.51 | 32.41 | 49.85 | 25.50 | 42.10 | 32.27 |
| google | 29.47 (-6.54, -18.15%) | 33.64 (+1.27, +3.91%) | 25.50 (+3.23, +14.52%) | 42.05 (+4.45, +11.84%) | 41.30 (+2.80, +7.27%) | 46.60 (+1.73, +3.86%) | 34.50 (+1.83, +5.59%) | 35.80 (+3.43, +10.61%) | 37.81 (+2.38, +6.70%) | 26.73 (+2.09, +8.47%) | 32.40 (+2.06, +6.80%) | 28.97 (-0.80, -2.69%) | 31.23 (+3.37, +12.08%) | 35.98 (+2.48, +7.39%) | 34.74 (+2.32, +7.17%) | 53.75 (+3.90, +7.82%) | 28.60 (+3.10, +12.16%) | 44.60 (+2.50, +5.94%) | 33.05 (+0.77, +2.40%) |
| microsoft | 36.48 (+0.47, +1.31%) | 32.93 (+0.56, +1.72%) | 24.83 (+2.57, +11.53%) | 42.90 (+5.30, +14.10%) | 41.20 (+2.70, +7.01%) | 46.47 (+1.60, +3.57%) | 34.55 (+1.88, +5.74%) | 36.17 (+3.80, +11.74%) | 39.13 (+3.70, +10.44%) | 27.75 (+3.11, +12.60%) | 33.53 (+3.19, +10.53%) | 32.30 (+2.53, +8.51%) | 31.83 (+3.97, +14.23%) | 38.21 (+4.70, +14.03%) | 33.76 (+1.35, +4.17%) | 50.15 (+0.30, +0.60%) | 28.47 (+2.97, +11.63%) | 38.55 (-3.55, -8.43%) | 33.54 (+1.27, +3.93%) |

![Results](img/avg.png)

## en-fr

| Translator/Dataset | wmt15 | wmt13 | wmt12 | wmt09 | flores-test | wmt10 | iwslt17 | wmt14 | flores-dev | wmt08 | wmt11 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| bergamot | 36.90 | 33.40 | 31.40 | 28.80 | 48.70 | 31.00 | 38.60 | 39.70 | 48.50 | 25.50 | 33.60 |
| google | 30.60 (-6.30, -17.07%) | 26.50 (-6.90, -20.66%) | 25.10 (-6.30, -20.06%) | 23.50 (-5.30, -18.40%) | 41.80 (-6.90, -14.17%) | 26.60 (-4.40, -14.19%) | 28.00 (-10.60, -27.46%) | 32.60 (-7.10, -17.88%) | 41.30 (-7.20, -14.85%) | 20.70 (-4.80, -18.82%) | 27.50 (-6.10, -18.15%) |
| microsoft | 39.70 (+2.80, +7.59%) | 31.50 (-1.90, -5.69%) | 29.60 (-1.80, -5.73%) | 28.20 (-0.60, -2.08%) | 52.70 (+4.00, +8.21%) | 33.00 (+2.00, +6.45%) | 36.50 (-2.10, -5.44%) | 40.40 (+0.70, +1.76%) | 52.50 (+4.00, +8.25%) | 25.10 (-0.40, -1.57%) | 32.10 (-1.50, -4.46%) |

![Results](img/en-fr.png)

## es-en

| Translator/Dataset | wmt10 | wmt09 | wmt11 | mtedx_test | wmt13 | wmt08 | flores-dev | flores-test | wmt12 |
Expand Down Expand Up @@ -135,6 +145,16 @@ Both absolute and relative differences in BLEU scores between Bergamot and other

![Results](img/et-en.png)

## fr-en

| Translator/Dataset | wmt10 | wmt09 | wmt14 | wmt11 | mtedx_test | wmt13 | wmt08 | flores-dev | flores-test | wmt12 | wmt15 | iwslt17 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| bergamot | 31.40 | 29.10 | 37.30 | 32.00 | 42.80 | 33.30 | 24.50 | 43.80 | 42.10 | 31.90 | 37.20 | 39.80 |
| google | 34.10 (+2.70, +8.60%) | 31.20 (+2.10, +7.22%) | 40.60 (+3.30, +8.85%) | 34.30 (+2.30, +7.19%) | 42.70 (-0.10, -0.23%) | 34.50 (+1.20, +3.60%) | 26.60 (+2.10, +8.57%) | 48.70 (+4.90, +11.19%) | 46.70 (+4.60, +10.93%) | 33.80 (+1.90, +5.96%) | 39.90 (+2.70, +7.26%) | 40.60 (+0.80, +2.01%) |
| microsoft | 35.00 (+3.60, +11.46%) | 32.20 (+3.10, +10.65%) | 42.30 (+5.00, +13.40%) | 35.20 (+3.20, +10.00%) | 46.40 (+3.60, +8.41%) | 36.10 (+2.80, +8.41%) | 27.40 (+2.90, +11.84%) | 48.90 (+5.10, +11.64%) | 47.00 (+4.90, +11.64%) | 34.60 (+2.70, +8.46%) | 42.70 (+5.50, +14.78%) | 41.80 (+2.00, +5.03%) |

![Results](img/fr-en.png)

## en-cs

| Translator/Dataset | wmt10 | flores-dev | wmt11 | wmt18 | flores-test | wmt13 | wmt15 | wmt08 | wmt09 | wmt19 | wmt14 | wmt17 | wmt20 | wmt16 | wmt12 |
Expand Down
3 changes: 3 additions & 0 deletions models/prod/enfr/lex.50.50.enfr.s2t.bin.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions models/prod/enfr/model.enfr.intgemm.alphas.bin.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions models/prod/enfr/vocab.fren.spm.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions models/prod/fren/lex.50.50.fren.s2t.bin.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions models/prod/fren/model.fren.intgemm.alphas.bin.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions models/prod/fren/vocab.fren.spm.gz
Git LFS file not shown
60 changes: 53 additions & 7 deletions registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,19 @@
"expectedSha256Hash": "e19c77231bf977988e31ff8db15fe79966b5170564bd3e10613f239e7f461d97",
"modelType": "prod"
},
"qualityModel": {
"name": "qualityModel.encs.bin",
"size": 68,
"estimatedCompressedSize": 108,
"expectedSha256Hash": "d7eba90036a065e4a1e93e889befe09f93a7d9a3417f3edffdb09a0db88fe83a",
"modelType": "prod"
},
"vocab": {
"name": "vocab.csen.spm",
"size": 769763,
"estimatedCompressedSize": 366392,
"expectedSha256Hash": "f71cc5d045e479607078e079884f44032f5a0b82547fb96eefa29cd1eb47c6f3",
"modelType": "prod"
},
"qualityModel": {
"name": "qualityModel.encs.bin",
"size": 68,
"estimatedCompressedSize": 108,
"expectedSha256Hash": "d7eba90036a065e4a1e93e889befe09f93a7d9a3417f3edffdb09a0db88fe83a",
"modelType": "prod"
}
},
"ende": {
Expand Down Expand Up @@ -204,6 +204,29 @@
"modelType": "prod"
}
},
"enfr": {
"model": {
"name": "model.enfr.intgemm.alphas.bin",
"size": 17140961,
"estimatedCompressedSize": 12293754,
"expectedSha256Hash": "0678019c4d74c8c81d2de17e3e58d3aba5f5eb48f5595d9240c17f69d30461de",
"modelType": "prod"
},
"lex": {
"name": "lex.50.50.enfr.s2t.bin",
"size": 7886500,
"estimatedCompressedSize": 4177155,
"expectedSha256Hash": "38fb44bad1fd5f1e6bfdcf15cc8baa09d61aad2a4f9c587914e24e7b5c25c32c",
"modelType": "prod"
},
"vocab": {
"name": "vocab.fren.spm",
"size": 831382,
"estimatedCompressedSize": 419721,
"expectedSha256Hash": "4c84b95b62c930f0791466d73eb996841eef474c96d0c2f0e6c6d80640f2005a",
"modelType": "prod"
}
},
"enit": {
"model": {
"name": "model.enit.intgemm.alphas.bin",
Expand Down Expand Up @@ -319,6 +342,29 @@
"modelType": "prod"
}
},
"fren": {
"model": {
"name": "model.fren.intgemm.alphas.bin",
"size": 17140961,
"estimatedCompressedSize": 12641501,
"expectedSha256Hash": "185f76d24c2d400fe4ea0cb2487df77722641b97a3ef10633872e8a7fdf40e09",
"modelType": "prod"
},
"lex": {
"name": "lex.50.50.fren.s2t.bin",
"size": 8818768,
"estimatedCompressedSize": 4761904,
"expectedSha256Hash": "3148abf21ea98a4d69d0e4504e0d68a6c060204a9b9a39b76855aee1d5b2c8ea",
"modelType": "prod"
},
"vocab": {
"name": "vocab.fren.spm",
"size": 831382,
"estimatedCompressedSize": 419721,
"expectedSha256Hash": "4c84b95b62c930f0791466d73eb996841eef474c96d0c2f0e6c6d80640f2005a",
"modelType": "prod"
}
},
"iten": {
"model": {
"name": "model.iten.intgemm.alphas.bin",
Expand Down
9 changes: 4 additions & 5 deletions scripts/import-statmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

pair=$1

mkdir -P models/prod/$pair
mkdir -p models/prod/$pair

# directory structure is not consistent on statmt
wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/$pair/$pair.student.tiny11/lex.s2t.bin
wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/$pair/$pair.student.tiny11/model.intgemm.alphas.bin
#wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/$pair/$pair.student.tiny11/vocab.$pair.spm
wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/$pair/vocab.nben.spm
wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/fren/$pair/tiny11/lex.s2t.bin
wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/fren/$pair/tiny11/model.intgemm.alphas.bin
wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/fren/$pair/tiny11/vocab.fren.spm

# follow our naming convention
mv models/prod/$pair/lex.s2t.bin models/prod/$pair/lex.50.50.$pair.s2t.bin
Expand Down

0 comments on commit 985f4bb

Please sign in to comment.