Skip to content

Commit d4a4d30

Browse files
eu9eneCircleCI evaluation job
and
CircleCI evaluation job
authored
Add more languages (#31)
* Add statmt importing script * Add Farsi models * Add Icelandic -> English * Add Norwegian -> English models * Update statmt script * Update readme * Fix readme * Update evaluation results [skip ci] * Move models with bad quality to dev * Move evaluation results to dev * Update evaluation results [skip ci] Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
1 parent 0b39a09 commit d4a4d30

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+144
-14
lines changed

README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
17.2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
27.2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
19.9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
17.4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
28.2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
21.1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
29.1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
36.7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
36.5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
28.3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
35.4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
35.8

evaluation/dev/img/avg.png

2.03 KB

evaluation/dev/img/en-fa.png

19.7 KB

evaluation/dev/img/fa-en.png

18.5 KB

evaluation/dev/img/is-en.png

22.6 KB
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
23.6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
35.5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
35.1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
23.4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
34.4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
34.7

evaluation/dev/results.md

+36-6

evaluation/prod/img/avg.png

462 Bytes

evaluation/prod/img/nb-en.png

19.4 KB
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
37.4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
41.8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
42.7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
37.8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
42.3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
43.1

evaluation/prod/results.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:e9e0885217bc5e4d200ab217d30fd15df1bcd1e938f3f86021ee782feed6f324
3+
size 2623030
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:9eef5c5601c38e020b176639f7b16d4f59b61d3b23368c48841b514087c39beb
3+
size 13376428

models/dev/enfa/vocab.enfa.spm.gz

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:82d0c2e6f52bdebcb9aef4f180b79ff4d74e0b35bfe3b44393111430b880bdf1
3+
size 372636
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:0d25f9ddae341873b79d834db9fe5c77578d370981edac5189a9216ccd9b655a
3+
size 3230408
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:641b4447be71c24def35d2fcae99cdfcab634a70b52e2a4f07a242630d16b20c
3+
size 13077214

models/dev/faen/vocab.faen.spm.gz

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:8ecd7649ef77244b6becacdea158c182676ca328a858e6c5dd829ab8419a15bd
3+
size 421102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:0870eca2fee1d6c4a382eb8f23c36c944d91dc93b1b1900dc30f4c4d0abd7712
3+
size 1502107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:3132a1628f32e2ae7a0fa6adf907eae2d5dbd56206425252971242cfc4f6166c
3+
size 13989880

models/dev/isen/vocab.isen.spm.gz

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:dab6ca0f0d862e33f787a8bf37b91008f793171c13ea4174e69894ff2989e3eb
3+
size 416849
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:da94ec4e1b149c79cfa02f52b3041461a4d5334fbe69ab6adcaa6b56c04f8679
3+
size 731899
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:54ede4b47a2505768667938d2f41f480a30bd99ef5bf7fbcf5298bb8172065a2
3+
size 10465158

models/dev/nnen/vocab.nnen.spm.gz

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:d7f93e11e24510aae532480e46b7f88839f401207dc6b22e3814c5d719997c47
3+
size 269397
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:a5082e96461e13d22e51535df14cd668f4697bdefc609206a18c66ac9862165e
3+
size 721631
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:ccc1633225bc7e8c26f1998b8a436eec55f5262cb1fbf778637d7741390c04dd
3+
size 10284054

models/prod/nben/vocab.nben.spm.gz

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:6e6c78acd1369cc3a9d49abffa33f8ef8b62f24188df00a13f8a32954a449e8c
3+
size 269244

scripts/import-statmt.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
pair=$1
4+
5+
mkdir -P models/prod/$pair
6+
7+
# directory structure is not consistent on statmt
8+
wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/$pair/$pair.student.tiny11/lex.s2t.bin
9+
wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/$pair/$pair.student.tiny11/model.intgemm.alphas.bin
10+
#wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/$pair/$pair.student.tiny11/vocab.$pair.spm
11+
wget -nc -P models/prod/$pair/ http://data.statmt.org/bergamot/models/$pair/vocab.nben.spm
12+
13+
# follow our naming convention
14+
mv models/prod/$pair/lex.s2t.bin models/prod/$pair/lex.50.50.$pair.s2t.bin
15+
mv models/prod/$pair/model.intgemm.alphas.bin models/prod/$pair/model.$pair.intgemm.alphas.bin
16+
17+
gzip models/prod/$pair/*

0 commit comments

Comments
 (0)