Instructions to use sabre-code/pegasus-large-cnn-dailymail-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sabre-code/pegasus-large-cnn-dailymail-2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sabre-code/pegasus-large-cnn-dailymail-2") model = AutoModelForSeq2SeqLM.from_pretrained("sabre-code/pegasus-large-cnn-dailymail-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
End of training
9598d00
-
End of training
34fee9f -
End of training
c065134
-
End of training
744004c
-
End of training
5cbf78f -
initial commit
8bef4f6