transformers pytorch bart text2text-generation generated_from_trainer es en dataset:vgaraujov/wmt13 base_model:vgaraujov/bart-base-spanish base_model:finetune:vgaraujov/bart-base-spanish license:apache-2.0 model-index autotrain_compatible endpoints_compatible region:us
---
base_model: vgaraujov/bart-base-spanish
datasets:
- vgaraujov/wmt13
language:
- es
- en
license: apache-2.0
metrics:
- bleu
tags:
- generated_from_trainer
widget:
- text: Hola, soy BARTO para traducción.
model-index:
- name: bart-base-translation-es-en
  results:
  - task:
      type: translation
      name: Translation
    dataset:
      name: vgaraujov/wmt13 es-en
      type: vgaraujov/wmt13
      config: es-en
      split: validation
      args: es-en
    metrics:
    - type: bleu
      value: 30.222
      name: Bleu
---

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

# BARTO (base-sized model) for es-en translation

This model is a fine-tuned version of [BARTO](https://huggingface.co/vgaraujov/bart-base-spanish) on a small portion of [WMT13](https://huggingface.co/datasets/vgaraujov/wmt13) es-en dataset.
It achieves the following results on the evaluation set:
- Loss: 1.4562
- Bleu: 30.222
- Gen Len: 42.0952

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 0.005
- train_batch_size: 96
- eval_batch_size: 96
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 384
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 40000
- training_steps: 5000

### Framework versions

- Transformers 4.33.0.dev0
- Pytorch 2.0.1+cu117
- Datasets 2.14.4
- Tokenizers 0.13.3
