Hi there,
I’m trying to use the pretrained English->German model (the very first one on http://opennmt.net/Models-py/). I’m getting the exact same results described in this question: the translation is entirely unrelated to the input.
The answer in that case was to use sentencepiece to tokenize the text, and the model I downloaded did come with a sentencepiece.model file. My problem, though, is that I don’t know what to do with it. How do you actually run sentencepiece? Simply having the file in the same directory as the en-de model doesn’t seem to be enough, and if there’s a command you need to use, I haven’t found it yet. None of the links I’ve seen so far have helped, so I guess I need more detailed instructions than you’d expect.
Thanks for helping a beginner figure this thing out!