abisee/cnn_dailymail
Viewer • Updated • 936k • 165k • 343
How to use pendulum27/mt5-small-cnn-dm-kaggle-en 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="pendulum27/mt5-small-cnn-dm-kaggle-en") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("pendulum27/mt5-small-cnn-dm-kaggle-en")
model = AutoModelForSeq2SeqLM.from_pretrained("pendulum27/mt5-small-cnn-dm-kaggle-en")This model is a fine-tuned version of google/mt5-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 | Rouge1 | Rouge2 | Rougel | Rougelsum |
|---|---|---|---|---|---|---|---|
| 3.7959 | 1.0 | 2668 | 3.3796 | 24.6486 | 10.95 | 21.6027 | 21.6371 |
| 3.6116 | 2.0 | 5336 | 3.2863 | 25.0485 | 11.2204 | 21.9543 | 21.9949 |
| 3.5264 | 3.0 | 8004 | 3.2426 | 25.1151 | 11.2913 | 22.0778 | 22.1108 |
| 3.4845 | 4.0 | 10672 | 3.2499 | 25.24 | 11.4243 | 22.1837 | 22.2212 |