Closed q2044757581 closed 3 years ago
AFAIK there is no official Python API. Huggingface has one, but you would need to look for examples there. You can also compile and use marian-server, which is a simple web server and the demo client we provide is in Python (https://marian-nmt.github.io/docs/#web-server).
ok, tks
I have trained a model but i want to use Python to write an interaction API Can you give an example?