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:
# pip install -U transformers accelerate # 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 .gitignore from royam0820/pegasus-samsum: direct link, hf CLI and curl.
- Browser
- Download file 13 Bytes
-
https://huggingface.co/royam0820/pegasus-samsum/resolve/main/.gitignore
- Command line
-
hf download hf://royam0820/pegasus-samsum/.gitignore
-
curl -L -o .gitignore https://huggingface.co/royam0820/pegasus-samsum/resolve/main/.gitignore
13 Bytes
| checkpoint-*/ |