EdinburghNLP/xsum
Viewer • Updated • 227k • 32.2k • 145
How to use Vexemous/t5-small-finetuned-xsum with Transformers:
# 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="Vexemous/t5-small-finetuned-xsum") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Vexemous/t5-small-finetuned-xsum")
model = AutoModelForSeq2SeqLM.from_pretrained("Vexemous/t5-small-finetuned-xsum")This model is a fine-tuned version of t5-small on the xsum dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| 2.8879 | 1.0 | 1148 | 2.6353 | 25.4786 | 5.8199 | 19.7404 | 19.7497 | 18.8089 |
| 2.8178 | 2.0 | 2296 | 2.5951 | 26.2963 | 6.4255 | 20.5395 | 20.5304 | 18.8084 |
| 2.7831 | 3.0 | 3444 | 2.5741 | 26.7181 | 6.7174 | 20.8888 | 20.8914 | 18.806 |
| 2.7572 | 4.0 | 4592 | 2.5647 | 27.0071 | 6.8335 | 21.108 | 21.1149 | 18.8202 |
| 2.7476 | 5.0 | 5740 | 2.5622 | 27.0616 | 6.8574 | 21.1087 | 21.1175 | 18.8246 |
Base model
google-t5/t5-small