Instructions to use QuickRead/pegasus-reddit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuickRead/pegasus-reddit with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("QuickRead/pegasus-reddit") model = AutoModelForSeq2SeqLM.from_pretrained("QuickRead/pegasus-reddit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 1.0, | |
| "train_loss": 4.005661797901941, | |
| "train_runtime": 41.6226, | |
| "train_samples": 500, | |
| "train_samples_per_second": 12.013, | |
| "train_steps_per_second": 1.514 | |
| } |