From 3525af6a45371850efd379a04e07e61991654fe8 Mon Sep 17 00:00:00 2001 From: Abhishek Aggarwal Date: Thu, 29 Apr 2021 16:20:11 +0200 Subject: [PATCH] Make wasm test page work with bergamot-models repository - bergamot-models now contains lexical shortlist bin files as well --- wasm/test_page/bergamot.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wasm/test_page/bergamot.html b/wasm/test_page/bergamot.html index 86a40bb..d52b8e4 100644 --- a/wasm/test_page/bergamot.html +++ b/wasm/test_page/bergamot.html @@ -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 {