CTranslate2 supports Transformer models trained with OpenNMT-tf. In most cases, you should simply pass the YAML configuration to the converter:
pip install OpenNMT-tf
ct2-opennmt-tf-converter --config config.yml --output_dir ct2_model
If you don’t have access to the configuration or want to select a checkpoint outside the model directory, see the other conversion options with
Alternatively, you can also convert the model directly from OpenNMT-tf. See the corresponding documentation in OpenNMT-tf.