mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-10-26 05:43:59 +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:
|
||||
// gemm-precision: int8shiftAlphaAll
|
||||
|
||||
const modelFile = `${languagePair}/model.${languagePair}.intgemm.alphas.bin`;
|
||||
const modelFile = `models/${languagePair}/model.${languagePair}.intgemm.alphas.bin`;
|
||||
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);
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user