mbart-large-50-English_Spanish_Translation

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

  • Loss: 1.0290
  • Bleu: 41.4437
  • Rouge:
    • Rouge1: 0.6751402780531002
    • Rouge2: 0.49769602014143044
    • RougeL: 0.6371513427059108
    • RougeLsum: 0.6376403149816605
  • Meteor: 0.6479226630466496

Model description

This project translates Spanish text inputs into English.

Here is the link to the script I created to train this model: https://github.com/DunnBC22/NLP_Projects/blob/main/Machine%20Translation/NLP%20Translation%20Project-EN:ES.ipynb

Intended uses & limitations

This model is intended to demonstrate my ability to solve a complex problem using technology.

Training and evaluation data

Dataset Source: https://www.kaggle.com/datasets/hgultekin/paralel-translation-corpus-in-22-languages

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 32
  • eval_batch_size: 32
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 2

Training results

Training Loss Epoch Step Validation Loss Bleu Rouge1 Rouge2 RougeL RougeLsum Meteor
1.5608 1.0 900 1.0899 39.9184 0.6645 0.4846 0.6254 0.6259 0.6376
0.9734 2.0 1800 1.0290 41.4436 0.6751 0.4977 0.6371 0.6376 0.6479

Framework versions

  • Transformers 4.22.2
  • Pytorch 1.12.1
  • Datasets 2.5.2
  • Tokenizers 0.12.1

License

This model is a fine-tuned version of Facebook's mBART-50 model, which is released under the MIT License.

The training dataset (parallel-translation-corpus-in-22-languages) is sourced from Kaggle and may have its own usage restrictions or unclear licensing.

As a result, this model is released under a non-standard license. Users must review and comply with both the original model license and any dataset-related restrictions.

License Notice

This model is a fine-tuned derivative of a pretrained model. Users must comply with the original model license.

Dataset Notice

This model was fine-tuned on third-party datasets which may have separate licenses or usage restrictions.

Downloads last month
22
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including DunnBC22/mbart-large-50-English_Spanish_Translation