Should I use OpenNMT-py or OpenNMT-tf

Hello, I want to build model for language translation and there are two version of OpenNMT (based on pytorch and tenserflow).

In this video, a people say that is oriented for research and is oriented on production but this page Features - OpenNMT say that Copy attention and Coverage attention is only aviable on

So we can deduce that for better accuracy on translation, is it recommended to use but for production, we can use but with less accuracy (but more easy to use).

Do I understand the difference between these two toolkits?


For machine translation, both frameworks will reach a similar accuracy when training a Transformer model with the recommended settings.

In most cases your choice is about PyTorch vs. TensorFlow and which one seems simpler to use and integrate for you.

These days you don’t even need to consider how to run inference with these frameworks, because you’ll probably want to use CTranslate2 instead.


Okay, thank you for your answer!