Instructions to use stas/pegasus-cnn_dailymail-tiny-random with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stas/pegasus-cnn_dailymail-tiny-random with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("stas/pegasus-cnn_dailymail-tiny-random") model = AutoModelForSeq2SeqLM.from_pretrained("stas/pegasus-cnn_dailymail-tiny-random", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
This is a tiny random pegasus-cnn_dailymail model used for testing
|
| 2 |
|
| 3 |
See `make-pegasus-cnn_dailymail-tiny-random.py` for how it was created.
|
| 4 |
|
|
|
|
| 1 |
+
This is a tiny random pegasus-cnn_dailymail model used for testing.
|
| 2 |
|
| 3 |
See `make-pegasus-cnn_dailymail-tiny-random.py` for how it was created.
|
| 4 |
|