Loading pretrained model onto flask website

After creating a model following the quickstart guide (Quickstart — OpenNMT-py documentation), I want to use it with my flask website. I’m not sure how to load and use the model

Dear Alice,

You can check this tutorial on how to build a simple interface for machine translation:

Please note that CTranslate2 supports only Transformer models, as explained here:

For more details, feel free to check this tutorial:

All the best,

1 Like