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