
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# mt5-small-samsum

This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on the samsum dataset.
It achieves the following results on the evaluation set:
- Loss: 2.1071
- Rouge1: 35.2678
- Rouge2: 14.3986
- Rougel: 30.6864
- Rougelsum: 32.8469
- Gen Len: 14.6361

## 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: 5e-05
- train_batch_size: 2
- eval_batch_size: 2
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 1

### Training results

| Training Loss | Epoch | Step | Validation Loss | Rouge1  | Rouge2  | Rougel  | Rougelsum | Gen Len |
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
| 2.6848        | 1.0   | 7366 | 2.1071          | 35.2678 | 14.3986 | 30.6864 | 32.8469   | 14.6361 |


### Framework versions

- Transformers 4.33.0
- Pytorch 2.1.1
- Datasets 2.14.4
- Tokenizers 0.13.3

{"license": "apache-2.0", "tags": ["generated_from_trainer"], "datasets": ["samsum"], "metrics": ["rouge"], "base_model": "google/mt5-small", "model-index": [{"name": "mt5-small-samsum", "results": [{"task": {"type": "text2text-generation", "name": "Sequence-to-sequence Language Modeling"}, "dataset": {"name": "samsum", "type": "samsum", "config": "samsum", "split": "test", "args": "samsum"}, "metrics": [{"type": "rouge", "value": 35.2678, "name": "Rouge1"}]}]}]}
transformers pytorch mt5 text2text-generation generated_from_trainer dataset:samsum base_model:google/mt5-small license:apache-2.0 model-index autotrain_compatible endpoints_compatible text-generation-inference region:us