seamless_communication icon indicating copy to clipboard operation
seamless_communication copied to clipboard

seamless-m4t-unity-small does not support French

Open woheller69 opened this issue 11 months ago • 2 comments

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 avatar Jan 08 '25 05:01 woheller69

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

woheller69 avatar Jan 08 '25 15:01 woheller69

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

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

woheller69 avatar Jan 09 '25 13:01 woheller69