Summarization
Transformers
PyTorch
TensorBoard
t5
text2text-generation
Generated from Trainer
text-generation-inference
Instructions to use PeterBanning71/t5-small-finetuned-eLife-tfg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PeterBanning71/t5-small-finetuned-eLife-tfg 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="PeterBanning71/t5-small-finetuned-eLife-tfg")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("PeterBanning71/t5-small-finetuned-eLife-tfg") model = AutoModelForSeq2SeqLM.from_pretrained("PeterBanning71/t5-small-finetuned-eLife-tfg") - Notebooks
- Google Colab
- Kaggle
t5-small-finetuned-eLife-tfg
This model is a fine-tuned version of t5-small on the None dataset. It achieves the following results on the evaluation set:
- Loss: 2.9086
- Rouge1: 14.1818
- Rouge2: 2.6381
- Rougel: 10.4961
- Rougelsum: 12.8458
- Gen Len: 19.0
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: 2e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 459 | 2.9705 | 13.2225 | 2.4541 | 10.0332 | 11.9703 | 19.0 |
| 3.3543 | 2.0 | 918 | 2.9211 | 13.9672 | 2.601 | 10.3831 | 12.6062 | 19.0 |
| 3.1411 | 3.0 | 1377 | 2.9086 | 14.1818 | 2.6381 | 10.4961 | 12.8458 | 19.0 |
Framework versions
- Transformers 4.27.1
- Pytorch 1.13.1+cu116
- Datasets 2.10.1
- Tokenizers 0.13.2
- Downloads last month
- 2