Instructions to use Jayicebear/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 Jayicebear/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="Jayicebear/mt5-small-finetuned-amazon-en-es")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Jayicebear/mt5-small-finetuned-amazon-en-es") model = AutoModelForSeq2SeqLM.from_pretrained("Jayicebear/mt5-small-finetuned-amazon-en-es", device_map="auto") - 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:
- eval_loss: 22.4140
- eval_rouge1: 0.1884
- eval_rouge2: 0.0
- eval_rougeL: 0.1884
- eval_rougeLsum: 0.1884
- eval_runtime: 6.4772
- eval_samples_per_second: 36.744
- eval_steps_per_second: 1.235
- step: 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: 5.6e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 8
Framework versions
- Transformers 4.28.0
- Pytorch 2.0.1+cu117
- Datasets 2.14.5
- Tokenizers 0.13.3
- Downloads last month
- 2