Summarization
Transformers
PyTorch
TensorBoard
bart
text2text-generation
Generated from Trainer
Eval Results (legacy)
Instructions to use adityashukzy/bart-base-arxiv-sum-session-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adityashukzy/bart-base-arxiv-sum-session-2 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-2")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("adityashukzy/bart-base-arxiv-sum-session-2") model = AutoModelForSeq2SeqLM.from_pretrained("adityashukzy/bart-base-arxiv-sum-session-2") - Notebooks
- Google Colab
- Kaggle
bart-base-arxiv-sum-session-2
This model is a fine-tuned version of adityashukzy/bart-base-arxiv-sum-session-1 on the arxiv_summarization_dataset dataset. It achieves the following results on the evaluation set:
- Loss: 2.8121
- Rouge1: 12.7739
- Rouge2: 4.8248
- Rougel: 10.2907
- Rougelsum: 11.7577
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 64
- eval_batch_size: 64
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 256
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|---|---|---|---|---|---|---|---|
| No log | 0.99 | 97 | 2.8461 | 12.6111 | 4.7275 | 10.1787 | 11.5941 |
| No log | 1.99 | 195 | 2.8169 | 12.9468 | 4.9292 | 10.4402 | 11.9293 |
| No log | 2.98 | 291 | 2.8121 | 12.7739 | 4.8248 | 10.2907 | 11.7577 |
Framework versions
- Transformers 4.27.3
- Pytorch 1.13.0
- Datasets 2.1.0
- Tokenizers 0.13.2
- Downloads last month
- 7
Evaluation results
- Rouge1 on arxiv_summarization_datasetvalidation set self-reported12.774