transformers tensorboard safetensors marian text2text-generation generated_from_trainer base_model:Helsinki-NLP/opus-mt-en-es license:apache-2.0 autotrain_compatible endpoints_compatible region:us
---
license: apache-2.0
base_model: Helsinki-NLP/opus-mt-en-es
tags:
- generated_from_trainer
metrics:
- bleu
model-index:
- name: opus-mt-en-es-finetuned-en-to-es
  results: []
---

<!-- 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. -->

# opus-mt-en-es-finetuned-en-to-es

This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-es](https://huggingface.co/Helsinki-NLP/opus-mt-en-es) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 1.1438
- Bleu: 36.1767
- Gen Len: 33.8762

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

### Training results

| Training Loss | Epoch | Step  | Validation Loss | Bleu    | Gen Len |
|:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|
| 1.177         | 1.0   | 2988  | 1.1417          | 36.1355 | 34.0324 |
| 1.0871        | 2.0   | 5976  | 1.1396          | 35.9725 | 33.7839 |
| 1.0245        | 3.0   | 8964  | 1.1403          | 35.8792 | 33.7635 |
| 0.9782        | 4.0   | 11952 | 1.1426          | 36.172  | 33.8807 |
| 0.9349        | 5.0   | 14940 | 1.1438          | 36.1767 | 33.8762 |


### Framework versions

- Transformers 4.37.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.1
