Instructions to use ashrielbrian/pegasus-samsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ashrielbrian/pegasus-samsum with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ashrielbrian/pegasus-samsum") model = AutoModelForSeq2SeqLM.from_pretrained("ashrielbrian/pegasus-samsum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
0ed2f29 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0246864a5d7d9d1e8a98f209e0fbc9d049d4ab737ff876aee92ecd0a4aa6df07
size 2283825905
|