Downloads · 30 days
14
1% of all-time downloads
abdulwaheed1/urdu_to_english_translation_mbart
urdu_to_english_translation_mbart is a machine learning model from abdulwaheed1. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
This repository contains a fine-tuned mBART model for Urdu to English translation. The model has been trained on a custom dataset and evaluated on test data.
Downloads · 30 days
14
1% of all-time downloads
All-time downloads
1.5K
Public
Parameters
611M
2.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors2.4 GB · 99%
From the Hugging Face model README
This repository contains a fine-tuned mBART model for Urdu to English translation. The model has been trained on a custom dataset and evaluated on test data.
abdulwaheed1/urdu_to_english_translation_mbartfacebook/mbart-large-50facebook/mbart-large-50ur)en)python
from transformers import MBart50TokenizerFast, MBartForConditionalGeneration
# Load the fine-tuned model
model_name = "abdulwaheed1/urdu_to_english_translation_mbart"
tokenizer = MBart50TokenizerFast.from_pretrained(model_name, src_lang="ur_PK", tgt_lang="en_XX")
model = MBartForConditionalGeneration.from_pretrained(model_name)
The model has been evaluated on a test dataset, and the following metrics were obtained:
The model was trained using the transformers library with the following configuration:
The model was fine-tuned on a custom Urdu-English translation dataset. If you wish to use the same dataset, you can find the preprocessing script and dataset files in the data directory.
The fine-tuning process and code were inspired by the Hugging Face Transformers library.