How to achieve multilinguial with inference API
#11
by
prathmeshadsod
- opened
I am not able to find how we can use this model to get control on source and target language with using API. Source language we can give as a input but target it is only able to translate in Portuguese. Can you give me sample code in API or something like that.
@prathmeshadsod
Visit this link : https://huggingface.co/facebook/mbart-large-50-many-to-many-mmt/discussions/10#651556fc47e76a9dea5ea973
You can find the API to pass both source and target language. But the model is different . The model used is mbart50-large-many-to-many-mmt for text translation.