Instructions to use alinet/bart-base-balanced-qg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alinet/bart-base-balanced-qg with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("alinet/bart-base-balanced-qg") model = AutoModelForSeq2SeqLM.from_pretrained("alinet/bart-base-balanced-qg", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from alinet/bart-base-balanced-qg: direct link, hf CLI and curl.
- Browser
- Download file 772 Bytes
-
https://huggingface.co/alinet/bart-base-balanced-qg/resolve/refs%2Fpr%2F1/special_tokens_map.json
- Command line
-
hf download hf://alinet/bart-base-balanced-qg@refs/pr/1/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/alinet/bart-base-balanced-qg/resolve/refs%2Fpr%2F1/special_tokens_map.json
772 Bytes
| {"bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}} |