Run this model with HF Jobs
Run tochilov/mt5-small-finetuned-amazon-en-es on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/tochilov/mt5-small-finetuned-amazon-en-es. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/tochilov/mt5-small-finetuned-amazon-en-es on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use tochilov/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 tochilov/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="tochilov/mt5-small-finetuned-amazon-en-es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("tochilov/mt5-small-finetuned-amazon-en-es") model = AutoModelForSeq2SeqLM.from_pretrained("tochilov/mt5-small-finetuned-amazon-en-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training complete
Browse filesFiles changed (6)
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970---library_name: transformerslicense: apache-2.0base_model: google/mt5-smalltags:- summarization- generated_from_trainermetrics:- rougemodel-index:- name: mt5-small-finetuned-amazon-en-es results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# mt5-small-finetuned-amazon-en-es
This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on an unknown dataset.It achieves the following results on the evaluation set:- Loss: 11.3328- Rouge1: 0.3915- Rouge2: 0.1651- Rougel: 0.3909- Rougelsum: 0.3782
## 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 adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 6
### Training results
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum ||:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|| 25.705 | 1.0 | 11 | 18.5714 | 0.0764 | 0.0 | 0.0764 | 0.0764 || 22.5362 | 2.0 | 22 | 15.5799 | 0.1364 | 0.0 | 0.1364 | 0.1364 || 21.1813 | 3.0 | 33 | 12.7223 | 0.1364 | 0.0 | 0.1364 | 0.1364 || 17.5603 | 4.0 | 44 | 11.6810 | 0.3915 | 0.1651 | 0.3909 | 0.3782 || 18.4079 | 5.0 | 55 | 11.5279 | 0.3915 | 0.1651 | 0.3909 | 0.3782 || 18.1867 | 6.0 | 66 | 11.3328 | 0.3915 | 0.1651 | 0.3909 | 0.3782 |
### Framework versions
- Transformers 4.46.3- Pytorch 2.5.1+cu121- Datasets 3.1.0- Tokenizers 0.20.3123456{ "decoder_start_token_id": 0, "eos_token_id": 1, "pad_token_id": 0, "transformers_version": "4.46.3"}123version https://git-lfs.github.com/spec/v1oid sha256:303ff95a3ce5f37e750f82a30e60a8ce187dde57107d40f857b8a05988149189size 1200729512123version https://git-lfs.github.com/spec/v1oid sha256:ac4a4198be8e70e4ab7ecf71053fbc44fe0fbc48eb68f23767461a69802f24c0size 1200729512
123version https://git-lfs.github.com/spec/v1oid sha256:d15fa8652f16ad6c9dde4c0c86bc554275f3ca3983b3f85b2207dcac6e6dbb39size 9767123version https://git-lfs.github.com/spec/v1oid sha256:b157d7371f33186d80a6c98afe07b65ab0faf0281a6c08ccd3f70774168e1bb9size 553123version https://git-lfs.github.com/spec/v1oid sha256:01c5518124536c4a60955aaab26788d7413c339d9f884670c249c63ca0d2649bsize 5496123version https://git-lfs.github.com/spec/v1oid sha256:8b94fdea078a6b1298e409520c89ea9e86bba01061bc9b9aef1577c3ed48b5easize 5496
README.mdAdded+70
generation_config.jsonAdded+6
model.safetensors+1-1
runs/Dec03_22-39-51_4409d80f4e67/events.out.tfevents.1733265617.4409d80f4e67.903.0Added+3
runs/Dec03_22-39-51_4409d80f4e67/events.out.tfevents.1733265789.4409d80f4e67.903.1Added+3
training_args.bin+1-1