Instructions to use ashwani-tanwar/Gujarati-XLM-R-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ashwani-tanwar/Gujarati-XLM-R-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ashwani-tanwar/Gujarati-XLM-R-Base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ashwani-tanwar/Gujarati-XLM-R-Base") model = AutoModelForMaskedLM.from_pretrained("ashwani-tanwar/Gujarati-XLM-R-Base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/ashwani-tanwar/Gujarati-XLM-R-Base/README.md892ae30
-
Update sentencepiece.bpe.model
68edfb3 -
Update config.json
f8d0ea2 -
Update tokenizer.json
f748ea0 -
Update pytorch_model.bin
7e38388 -
Update tf_model.h5
eb53b2c -
initial commit
8b04264