-
Notifications
You must be signed in to change notification settings - Fork 48
We did not find an alpha in the model named: F0::Wemb_QuantMultA.
when translating from pt
to de
on outbound translations.
#58
Comments
I've had problems with the en-de model as well. Looks like the precomputed alphas may be missing from the model? |
I was able to reproduce the error using the files downloaded from here: The command I used to reproduce the error is
These files are outdated. They are version 1 of the en-de system not version 2. Also the model file doesn't match version 1 exactly. In any case v2 should be pulled from https://data.statmt.org/bergamot/models/deen_v2.0/ . I tried to determine the provenance of the model file, but it doesn't match any currently hosted model, v1 or v2.
The vocabulary file is from v1:
Once I switched the model file to version 2 from https://data.statmt.org/bergamot/models/deen_v2.0/ende.student.tiny11.tar.gz , the command completed successfully |
Unassigning self, leaving for @abhi-agg to do a model pull (I don't have permissions to do that). |
Sep 14, 2021 "Updated en-de models posted, thanks @kaleidoescape
cc @andrenatal @lonnen" |
I note the following agenda items from the Bergamot plenary. |
We do not have visibility into your model pushing mechanisms. Here's my recommendation. Create a JSON file similar to how https://translatelocally.com/models.json. Use this to generate your modelRegistry. The JSON is already pullable by a python repository mechanism which can be used for continuous testing. Or you can bring your own custom repository in (python) code without having to bundle everything. The merits are manifold:
|
Update: I applied #61 and tested the workflow. The issue pertaining to not finding the alphas is gone. Now I see a new error as follows (attached screenshot contains more details):
This error seems to be happening only for outbound translation now as the in page translation of PT <-> DE works without any issue now. |
Awesome. It means I don't need to debug this issue. Once you merge that, we will close this issue. |
I'm getting the crash below [2] in the model/engine when translating from
pt
tode
using outbound translations (although this seems to be a generalized issue). It's not happening frompt
to the other languages but it might be happening with different combinations. There's a screen record of the error here:STR:
1 - Download Nightly
pt-br
2 - Load the extension from master
3 - Navigate to:
http://andrenatal.github.io/translations-playground
4 - Choose
de
5 - Click on
Traduzir
6 - Click on Enable translation of form
Yes
7 - Click on the textarea
8 - Type something in the textarea withing the outbound translations widget
[1] https://www.dropbox.com/s/7vw5vhykcnlnwjv/ptde_crash.mov?dl=1
[2]
The text was updated successfully, but these errors were encountered: