Instructions to use royam0820/pegasus-samsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use royam0820/pegasus-samsum with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("royam0820/pegasus-samsum") model = AutoModelForSeq2SeqLM.from_pretrained("royam0820/pegasus-samsum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from royam0820/pegasus-samsum: direct link, hf CLI and curl.
- Browser
- Download file 3.52 MB
-
https://huggingface.co/royam0820/pegasus-samsum/resolve/main/tokenizer.json
- Command line
-
hf download hf://royam0820/pegasus-samsum/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/royam0820/pegasus-samsum/resolve/main/tokenizer.json
3.52 MB
File too large to display, you can check the raw version instead.