Summarization
Transformers
Safetensors
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use acascanzal/flan-t5-small-summarization-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use acascanzal/flan-t5-small-summarization-es 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="acascanzal/flan-t5-small-summarization-es")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("acascanzal/flan-t5-small-summarization-es") model = AutoModelForSeq2SeqLM.from_pretrained("acascanzal/flan-t5-small-summarization-es") - Notebooks
- Google Colab
- Kaggle
flan-t5-small-summarization-es
This model is a fine-tuned version of google/flan-t5-small on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 2.3009
- Rouge1: 16.6557
- Rouge2: 4.1916
- Rougel: 13.9645
- Rougelsum: 13.9774
- Gen Len: 18.996
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: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| 2.5692 | 1.0 | 625 | 2.3347 | 16.6688 | 3.9677 | 14.037 | 14.0193 | 18.996 |
| 2.5700 | 2.0 | 1250 | 2.3086 | 16.55 | 4.232 | 13.8346 | 13.829 | 18.996 |
| 2.5583 | 3.0 | 1875 | 2.3009 | 16.6557 | 4.1916 | 13.9645 | 13.9774 | 18.996 |
Framework versions
- Transformers 5.3.0
- Pytorch 2.10.0+cu128
- Datasets 2.21.0
- Tokenizers 0.22.2
- Downloads last month
- 1
Model tree for acascanzal/flan-t5-small-summarization-es
Base model
google/flan-t5-small