-
Notifications
You must be signed in to change notification settings - Fork 120
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
Some translations are not possible #95
Comments
Updating the model used by fasttext for language identification helps solve the issue, at least for the translations that failed in my tests. Lines 415 to 430 in 7c11ae8
Yet there are still some translations that fail, maybe enabling a fallback in those cases to a slower model could help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
Running latest image
easynmt/api:2.0-cpu
with the model set tom2m_100_418M
and english as target language fails for some translations. Here are some examples:In this case for example, setting the source_lang to 'es' fixed the issue, so maybe the problem is somewhere in the language detection step or that there isn't a translation direction from the detected language to english.
Docker logs output:
the text of the exception varies with every prompt, I guess it is the code of the detected language
The text was updated successfully, but these errors were encountered: