AI4Bharat / Indic-BERT-v1

Indic-BERT-v1: BERT-based Multilingual Model for 11 Indic Languages and Indian-English. For latest Indic-BERT v2, check: https://github.com/AI4Bharat/IndicBERT
https://indicnlp.ai4bharat.org
MIT License
276 stars 41 forks source link

Need documentation in using the model #30

Closed kranti-experiments closed 3 years ago

kranti-experiments commented 3 years ago

Hi, I would like to use this model for extracting word vectors for Telugu text. I am looking for code snippets on how to use the model for extracting word vectors. Can you please help with this? Or if there is any documentation available on using the model in Hugging Transformers, please share the same.

Thank you in advance

gowtham1997 commented 3 years ago

You can try something like this.

The snippet is taken from the discussion here and the colab seems to work as expected for indicbert model.

Please reopen this if you face any other issues.

kranti-experiments commented 3 years ago

Hey! I found the post from Hugging Face forum yesterday and tried the same. Yep, it worked. Thank you for sharing the information.

Best Regards Kranti