seamless_communication
seamless_communication copied to clipboard
seamless-m4t-unity-small does not support French
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
But it seems to understand and to translate to Russian with key "rus"
My thesis seems to be supported, when looking at the .ptl with a hex editor: