mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-09-11 05:35:33 +03:00
Make wasm test page work with bergamot-models repository
- bergamot-models now contains lexical shortlist bin files as well
This commit is contained in:
parent
de0abfd795
commit
3525af6a45
@ -134,9 +134,9 @@ quiet-translation: true
|
|||||||
// TODO: Use in model config when loading of binary models is supported and we use model.intgemm.alphas.bin:
|
// TODO: Use in model config when loading of binary models is supported and we use model.intgemm.alphas.bin:
|
||||||
// gemm-precision: int8shiftAlphaAll
|
// gemm-precision: int8shiftAlphaAll
|
||||||
|
|
||||||
const modelFile = `${languagePair}/model.${languagePair}.intgemm.alphas.bin`;
|
const modelFile = `models/${languagePair}/model.${languagePair}.intgemm.alphas.bin`;
|
||||||
console.debug("modelFile: ", modelFile);
|
console.debug("modelFile: ", modelFile);
|
||||||
const shortlistFile = `${languagePair}/lex.${languagePair}.s2t.bin`;
|
const shortlistFile = `models/${languagePair}/lex.50.50.${languagePair}.s2t.bin`;
|
||||||
console.debug("shortlistFile: ", shortlistFile);
|
console.debug("shortlistFile: ", shortlistFile);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user