Instructions to use anwesham/indicbert_ur with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anwesham/indicbert_ur with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="anwesham/indicbert_ur")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("anwesham/indicbert_ur") model = AutoModelForTokenClassification.from_pretrained("anwesham/indicbert_ur", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from anwesham/indicbert_ur: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/anwesham/indicbert_ur/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://anwesham/indicbert_ur/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/anwesham/indicbert_ur/resolve/main/tokenizer_config.json
471 Bytes
| {"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": false, "__type": "AddedToken"}, "special_tokens_map_file": null, "name_or_path": "ai4bharat/indic-bert", "sp_model_kwargs": {}, "tokenizer_class": "AlbertTokenizer"} |