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

seamless-m4t-unity-small does not support French #541

Open
woheller69 opened this issue Jan 8, 2025 · 2 comments
Open

seamless-m4t-unity-small does not support French #541

woheller69 opened this issue Jan 8, 2025 · 2 comments

Comments

@woheller69
Copy link

woheller69 commented Jan 8, 2025

I have the model running in Java with Pytorch mobile:

        IValue outputs = module.forward(IValue.from(inTensor), IValue.from("eng"));
        String translation = outputs.toStr();

It works as long as I use "eng", "por", "spa", or "hin".

If I use "fra" the S2T checkpoint translates to Spanish or English. It also prepends <lang:spa> or <lang:eng> to the output.
The other checkpoint crashes if "fra" is specified

@woheller69
Copy link
Author

But it seems to understand and to translate to Russian with key "rus"

@woheller69
Copy link
Author

My thesis seems to be supported, when looking at the .ptl with a hex editor:

Screenshot from 2025-01-09 14-35-18

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

1 participant