abisee/cnn_dailymail
Viewer • Updated • 936k • 216k • 345
How to use Alred/t5-small-finetuned-summarization-cnn-ver3 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="Alred/t5-small-finetuned-summarization-cnn-ver3") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Alred/t5-small-finetuned-summarization-cnn-ver3")
model = AutoModelForSeq2SeqLM.from_pretrained("Alred/t5-small-finetuned-summarization-cnn-ver3")This model is a fine-tuned version of t5-small on the cnn_dailymail 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 | Bertscore-mean-precision | Bertscore-mean-recall | Bertscore-mean-f1 | Bertscore-median-precision | Bertscore-median-recall | Bertscore-median-f1 |
|---|---|---|---|---|---|---|---|---|---|
| 2.0168 | 1.0 | 718 | 2.0528 | 0.8870 | 0.8591 | 0.8727 | 0.8864 | 0.8578 | 0.8724 |
| 1.8387 | 2.0 | 1436 | 2.0610 | 0.8863 | 0.8591 | 0.8723 | 0.8848 | 0.8575 | 0.8712 |
| 1.7302 | 3.0 | 2154 | 2.0659 | 0.8856 | 0.8588 | 0.8719 | 0.8847 | 0.8569 | 0.8717 |
| 1.6459 | 4.0 | 2872 | 2.0931 | 0.8860 | 0.8592 | 0.8722 | 0.8850 | 0.8570 | 0.8718 |
| 1.5907 | 5.0 | 3590 | 2.1072 | 0.8861 | 0.8592 | 0.8723 | 0.8851 | 0.8582 | 0.8719 |