Instructions to use sshleifer/student_pegasus-xsum-12-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sshleifer/student_pegasus-xsum-12-4 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sshleifer/student_pegasus-xsum-12-4") model = AutoModelForSeq2SeqLM.from_pretrained("sshleifer/student_pegasus-xsum-12-4") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
Ctrl+K