Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation test not working - source.bpe file missing #17

Open
FrankSchneidawind opened this issue May 5, 2021 · 2 comments
Open

Translation test not working - source.bpe file missing #17

FrankSchneidawind opened this issue May 5, 2021 · 2 comments

Comments

@FrankSchneidawind
Copy link

Hi,

Installed the application and downloaded a model, but the translation test doesn't actually get going. When I try via PowerShell, it looks like I'm missing a source.bpe file, which is indeed not present in the model folder (see below)

2021-05-05 09_34_08-OPUS-CAT MT engine - C__Users_Media_PC_AppData_Local_opuscat_models_en-de_opus-2
2021-05-05 09_39_21-opus-2020-02-26

Thanks for your feedback!

@TommiNieminen
Copy link
Collaborator

Hi,

Thanks for your report, this is a problem which unfortunately seems to occur to many, but I haven't been able to trace all the bugs that might cause it (spaces in the path of the models cause this bug, but your model path does not seem to contain spaces).

There are two kinds of models that are supported, older ones that use BPE segmentation and newer ones with SentencePiece segmentation. The model you have installed uses SentencePiece segmentation, so it should be used with the StartSentencePieceMtPipe.bat script instead of the StartMosesBpeMtPipe.bat script (so the cause of the source.bpe error is that the script you used is not intended for these models). Could you run the model again with the StartSentencePieceMtPipe.bat script?

There are also log files in %localappdata%/opuscat/logs, they might have something related to this issue.

-Tommi

@TommiNieminen
Copy link
Collaborator

Hi,

There's a new release of OPUS-CAT available, which fixes several bugs related to the translation test not working. You can download it from here.

-Tommi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants