Instructions to use Mohammad-basheer/bart-large-cnn-finetuned-random-sample-80 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mohammad-basheer/bart-large-cnn-finetuned-random-sample-80 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="Mohammad-basheer/bart-large-cnn-finetuned-random-sample-80")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Mohammad-basheer/bart-large-cnn-finetuned-random-sample-80") model = AutoModelForSeq2SeqLM.from_pretrained("Mohammad-basheer/bart-large-cnn-finetuned-random-sample-80") - Notebooks
- Google Colab
- Kaggle
bart-large-cnn-finetuned-random-sample-80
This model is a fine-tuned version of facebook/bart-large-cnn on the None dataset. It achieves the following results on the evaluation set:
- Loss: 3.2424
- Rouge1: 0.3273
- Rouge2: 0.0961
- Rougel: 0.2088
- Rougelsum: 0.2886
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: 5.6e-05
- train_batch_size: 2
- eval_batch_size: 2
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 2
Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|---|---|---|---|---|---|---|---|
| 3.3302 | 1.0 | 40 | 3.1922 | 0.2965 | 0.0789 | 0.1837 | 0.2565 |
| 1.9373 | 2.0 | 80 | 3.2424 | 0.3273 | 0.0961 | 0.2088 | 0.2886 |
Framework versions
- Transformers 4.21.2
- Pytorch 1.12.1+cu113
- Datasets 2.4.0
- Tokenizers 0.12.1
- Downloads last month
- 14