CoolFace
Modelpublic

armpln/mabart-translation_en_es

sourceHugging Facemitupdated 7mo agoView on Hugging Face
0likes8downloads
Model Card

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

mabart-translationenes

This model is a fine-tuned version of facebook/mbart-large-50 on the dataset "Thermostatic/textsparallelcorpuseuroparlenglish_spanish". It achieves the following results on the evaluation set:

  • Loss: 1.3080
  • Bleu: 27.9907
  • Gen Len: 90.0233

Model description

This small model was developed to translate the minutes of the European Parliament proceedings from English into Spanish as part of a Master’s degree project in Natural Language Processing (NLP).

Intended uses & limitations

The model was trained on a relatively small dataset (3,000 rows), so its performance is limited. It is intended primarily for educational and experimental purposes.

Training and evaluation data

The model was trained on this dataset, which includes a large parallel corpus of English–Spanish sentence pairs: https://huggingface.co/datasets/Thermostatic/textsparallelcorpuseuroparlenglish_spanish

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5.6e-05
  • trainbatchsize: 1
  • evalbatchsize: 1
  • seed: 42
  • optimizer: Use OptimizerNames.ADAFACTOR and the args are: No additional optimizer arguments
  • lrschedulertype: linear
  • num_epochs: 2
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossBleuGen Len
1.49511.027001.353126.53190.0033
0.84652.054001.308027.990790.0233

Framework versions

  • Transformers 5.2.0
  • Pytorch 2.10.0+cu128
  • Datasets 4.6.1
  • Tokenizers 0.22.2