OpenNMT-TF checkpoint conversion

Hi,

I would like to convert the opennmt-tf checkpoint into onnx format. I was wondering therefore if there is a way to convert either the opennmt-tf checkpoint or the saved_model.pb → huggingface model (eg .h5 format) → use huggingface optimum library .

Thank you in advance.

If you do not mind the workflow, CTranslate2 is rather what you are looking for: