transformers safetensors bart text2text-generation generated_from_trainer base_model:facebook/bart-large base_model:finetune:facebook/bart-large license:apache-2.0 autotrain_compatible endpoints_compatible region:us
---
base_model: facebook/bart-large
license: apache-2.0
metrics:
- bleu
tags:
- generated_from_trainer
model-index:
- name: bart-large-translation-spa-pbb
  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. -->

# bart-large-translation-spa-pbb

This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 2.6252
- Bleu: 0.233
- Gen Len: 11.0184

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

### Training results

| Training Loss | Epoch | Step | Validation Loss | Bleu   | Gen Len |
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|
| 2.6025        | 1.0   | 304  | 3.0281          | 0.0    | 7.7339  |
| 3.694         | 2.0   | 608  | 2.8050          | 0.0    | 5.3307  |
| 2.3214        | 3.0   | 912  | 2.6729          | 0.0    | 11.5929 |
| 2.0           | 4.0   | 1216 | 2.6280          | 0.4389 | 10.8669 |
| 2.0676        | 5.0   | 1520 | 2.6142          | 1.5675 | 9.6904  |
| 1.8422        | 6.0   | 1824 | 2.6252          | 0.233  | 11.0184 |


### Framework versions

- Transformers 4.35.2
- Pytorch 1.13.1+cu117
- Datasets 2.15.0
- Tokenizers 0.15.0
