AI4Bharat / IndicXlit

Transliteration models for 21 Indic languages
https://ai4bharat.iitm.ac.in/transliteration
MIT License
74 stars 20 forks source link

Can you provide some documentation on how to predict using the fine tuned model ? #9

Closed GautamR-Samagra closed 1 year ago

GautamR-Samagra commented 1 year ago

Adding to it, Is it possible to use the python cli to do this?

yashmadhani97 commented 1 year ago

Hi @GautamR-Samagra, You can use the same inference code for fine-tuned model. Refer to this colab notebook. https://colab.research.google.com/drive/1TurBNE0Pq9_hqEOXps0FXfymsdlJotE0?usp=sharing#scrollTo=WR9f4kma3mds

No, right now fairseq doesn't provide any python interface for inference, you have to use fairseq-interactive or fairseq-generate for inference.