Instructions to use Shubhamai/tiny-mbart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shubhamai/tiny-mbart with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Shubhamai/tiny-mbart") model = AutoModelForSeq2SeqLM.from_pretrained("Shubhamai/tiny-mbart", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from Shubhamai/tiny-mbart: direct link, hf CLI and curl.
- Browser
- Download file 150 Bytes
-
https://huggingface.co/Shubhamai/tiny-mbart/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Shubhamai/tiny-mbart/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Shubhamai/tiny-mbart/resolve/main/special_tokens_map.json
150 Bytes
| {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": "<mask>"} |