alexfabbri/multi_news
Updated • 5.99k • 79
How to use Madan490/finetuned_multi_news_bart_text_summarisation 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="Madan490/finetuned_multi_news_bart_text_summarisation") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Madan490/finetuned_multi_news_bart_text_summarisation")
model = AutoModelForSeq2SeqLM.from_pretrained("Madan490/finetuned_multi_news_bart_text_summarisation")This model is a fine-tuned version of slauw87/bart_summarisation on the multi_news 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 |
|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 15 | 2.9651 | 0.3903 | 0.134 | 0.21 | 0.2098 | 137.6 |
| No log | 2.0 | 30 | 2.8952 | 0.4038 | 0.1389 | 0.2155 | 0.2147 | 138.7667 |