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: 129 Bytes
0ed2f29 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ffc8960872502c4a75a32c6abb786f31943a974aa2b32003adf931b9942c58d3
size 2927
|