How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
# Warning: Pipeline type "summarization" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# 'pip install "transformers<5.0.0'
from transformers import pipeline

pipe = pipeline("summarization", model="alexrink/Pegasus_VTSSum_14epochs")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMultimodalLM

tokenizer = AutoTokenizer.from_pretrained("alexrink/Pegasus_VTSSum_14epochs")
model = AutoModelForMultimodalLM.from_pretrained("alexrink/Pegasus_VTSSum_14epochs")
Quick Links

google/pegasus-large trained on sample of VT-SSum (https://github.com/Dod-o/VT-SSum; https://arxiv.org/pdf/1610.02424.pdf)
Sample consists of 600 train, 200 validation, 200 test using categories Computer Science, Data Science, Mathematics

  • Train Loss: ~0.1
  • Validation Loss: ~0.08
Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for alexrink/Pegasus_VTSSum_14epochs