Skip to content

Commit

Permalink
Add supervised models for Quality Estimation (#38)
Browse files Browse the repository at this point in the history
* Added En->Es, En->Cz and En->Et Supervised Models for Quality Estimation
 - Copied from
   - https://github.com/browsermt/quality-estimation/tree/master/model/esen/enes.quality.lr
   - https://github.com/browsermt/quality-estimation/tree/master/model/eten/enet.quality.lr
   - https://github.com/browsermt/quality-estimation/tree/master/model/csen/encs.quality.lr

* Modified script to generate registry for QE models
* Update model registry [skip ci]

Co-authored-by: CircleCI evaluation job <ci-models-evaluation@firefox-translations>
  • Loading branch information
abhi-agg and CircleCI evaluation job authored Mar 14, 2022
1 parent 59bff3f commit f22092f
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 1 deletion.
3 changes: 3 additions & 0 deletions models/prod/encs/qualityModel.encs.bin.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions models/prod/enes/qualityModel.enes.bin.gz
Git LFS file not shown
3 changes: 3 additions & 0 deletions models/prod/enet/qualityModel.enet.bin.gz
Git LFS file not shown
21 changes: 21 additions & 0 deletions registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@
"expectedSha256Hash": "e19c77231bf977988e31ff8db15fe79966b5170564bd3e10613f239e7f461d97",
"modelType": "prod"
},
"qualityModel": {
"name": "qualityModel.encs.bin",
"size": 68,
"estimatedCompressedSize": 108,
"expectedSha256Hash": "d7eba90036a065e4a1e93e889befe09f93a7d9a3417f3edffdb09a0db88fe83a",
"modelType": "prod"
},
"vocab": {
"name": "vocab.csen.spm",
"size": 769763,
Expand Down Expand Up @@ -158,6 +165,13 @@
"estimatedCompressedSize": 414566,
"expectedSha256Hash": "909b1eea1face0d7f90a474fe29a8c0fef8d104b6e41e65616f864c964ba8845",
"modelType": "prod"
},
"qualityModel": {
"name": "qualityModel.enes.bin",
"size": 68,
"estimatedCompressedSize": 108,
"expectedSha256Hash": "ce141f8e9e50a5ef4d8e3243a274b1734dc532f6963794a8869dce35acb543c2",
"modelType": "prod"
}
},
"enet": {
Expand All @@ -181,6 +195,13 @@
"estimatedCompressedSize": 416995,
"expectedSha256Hash": "e3b66bc141f6123cd40746e2fb9b8ee4f89cbf324ab27d6bbf3782e52f15fa2d",
"modelType": "prod"
},
"qualityModel": {
"name": "qualityModel.enet.bin",
"size": 68,
"estimatedCompressedSize": 108,
"expectedSha256Hash": "bb9b9c449c705297fe6b83542d64406201960971f102787b9b6c733416406707",
"modelType": "prod"
}
},
"esen": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-registry.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import gzip, json, sys, glob, os, hashlib

# prod or all
KEYS = ['model', 'vocab', 'lex']
KEYS = ['model', 'vocab', 'lex', 'qualityModel']


def get_meta(model_path, model_type):
Expand Down

0 comments on commit f22092f

Please sign in to comment.