EdinburghNLP/xsum
Viewer • Updated • 227k • 32.8k • 145
How to use Vexemous/bart-base-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/bart-base-finetuned-xsum") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Vexemous/bart-base-finetuned-xsum")
model = AutoModelForSeq2SeqLM.from_pretrained("Vexemous/bart-base-finetuned-xsum")This model is a fine-tuned version of facebook/bart-base 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.301 | 1.0 | 1148 | 1.9684 | 34.4715 | 13.6638 | 28.1147 | 28.1204 | 19.5816 |
| 2.1197 | 2.0 | 2296 | 1.9442 | 35.2502 | 14.284 | 28.8462 | 28.8384 | 19.5546 |
| 1.9804 | 3.0 | 3444 | 1.9406 | 35.7799 | 14.7422 | 29.3669 | 29.3742 | 19.5326 |
| 1.8891 | 4.0 | 4592 | 1.9349 | 35.5151 | 14.4668 | 29.0359 | 29.0484 | 19.5492 |
| 1.827 | 5.0 | 5740 | 1.9356 | 35.8214 | 14.7565 | 29.4566 | 29.4496 | 19.562 |
Base model
facebook/bart-base