Instructions to use ai4bharat/MultiIndicSentenceSummarizationSS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai4bharat/MultiIndicSentenceSummarizationSS with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ai4bharat/MultiIndicSentenceSummarizationSS") model = AutoModelForSeq2SeqLM.from_pretrained("ai4bharat/MultiIndicSentenceSummarizationSS", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from ai4bharat/MultiIndicSentenceSummarizationSS: direct link, hf CLI and curl.
- Browser
- Download file 398 Bytes
-
https://huggingface.co/ai4bharat/MultiIndicSentenceSummarizationSS/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://ai4bharat/MultiIndicSentenceSummarizationSS/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/ai4bharat/MultiIndicSentenceSummarizationSS/resolve/main/special_tokens_map.json
398 Bytes
| {"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}, "additional_special_tokens": ["<s>", "</s>", "<2as>", "<2bn>", "<2en>", "<2gu>", "<2hi>", "<2kn>", "<2ml>", "<2mr>", "<2or>", "<2pa>", "<2ta>", "<2te>"]} |