ccdv/arxiv-summarization
Viewer • Updated • 432k • 14k • 124
How to use adityashukzy/bart-base-arxiv-sum-session-1 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="adityashukzy/bart-base-arxiv-sum-session-1") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("adityashukzy/bart-base-arxiv-sum-session-1")
model = AutoModelForSeq2SeqLM.from_pretrained("adityashukzy/bart-base-arxiv-sum-session-1")This model is a fine-tuned version of facebook/bart-base on the arxiv_summarization_dataset dataset. It achieves the following results on the evaluation set:
Model obtained from fine-tuning facebook/bart-base on 25,000 training samples from the ccdv/arxiv-summarization dataset.
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 195 | 2.9794 | 12.5852 | 4.6927 | 10.1374 | 11.6014 |
| No log | 2.0 | 390 | 2.9077 | 12.5854 | 4.7568 | 10.166 | 11.5699 |
| No log | 3.0 | 585 | 2.8862 | 12.7479 | 4.8295 | 10.2761 | 11.7334 |