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