Instructions to use hapandya/indic-hi-bn-MLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hapandya/indic-hi-bn-MLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hapandya/indic-hi-bn-MLM")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("hapandya/indic-hi-bn-MLM") model = AutoModelForMaskedLM.from_pretrained("hapandya/indic-hi-bn-MLM") - Notebooks
- Google Colab
- Kaggle
| {"do_lower_case": true, "remove_space": true, "keep_accents": false, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "special_tokens_map_file": null, "name_or_path": "ai4bharat/indic-bert", "sp_model_kwargs": {}, "tokenizer_class": "AlbertTokenizer"} |