Instructions to use libalabala/mt5-small-finetuned-amazon-en-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use libalabala/mt5-small-finetuned-amazon-en-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="libalabala/mt5-small-finetuned-amazon-en-es")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("libalabala/mt5-small-finetuned-amazon-en-es") model = AutoModelForSeq2SeqLM.from_pretrained("libalabala/mt5-small-finetuned-amazon-en-es") - Notebooks
- Google Colab
- Kaggle
mt5-small-finetuned-amazon-en-es
This model is a fine-tuned version of google/mt5-small on the None dataset. It achieves the following results on the evaluation set:
- Loss: 3.1997
- Rouge1: 16.7312
- Rouge2: 8.6607
- Rougel: 16.1846
- Rougelsum: 16.2411
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: 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 |
|---|---|---|---|---|---|---|---|
| 7.0772 | 1.0 | 1209 | 3.3307 | 12.4644 | 4.0353 | 12.0167 | 12.0722 |
| 4.0223 | 2.0 | 2418 | 3.2257 | 15.338 | 7.0168 | 14.7769 | 14.8391 |
| 3.8018 | 3.0 | 3627 | 3.1997 | 16.7312 | 8.6607 | 16.1846 | 16.2411 |
Framework versions
- Transformers 4.17.0
- Pytorch 1.10.0+cu111
- Datasets 2.0.0
- Tokenizers 0.11.6
- Downloads last month
- 7