Downloads · 30 days
2
4% of all-time downloads
SumitRathi/opus-mt-en-hi-finetuned
opus-mt-en-hi-finetuned is a machine learning model from SumitRathi. 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. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
2
4% of all-time downloads
All-time downloads
51
Public
Parameters
75.9M
306 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors304 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of Helsinki-NLP/opus-mt-en-hi on an cfilt/iitb-english-hindi dataset. It achieves the following results on the evaluation set:
This is a fine-tuned version of Helsinki-NLP/opus-mt-en-hi, a MarianMT-based English-to-Hindi translation model. It was fine-tuned as part of an NLP coursework assignment on translation model fine-tuning, using the full IIT Bombay English-Hindi parallel corpus.
The base model already had reasonable English-to-Hindi translation ability from its original OPUS pretraining, so this fine-tuning mainly adapts it to the phrasing and style conventions found in the IITB corpus rather than teaching translation from scratch.
This model translates English text to Hindi. It's intended for general-domain sentence-level translation, similar in scope to the IITB corpus it was fine-tuned on (a mix of software localization strings, general web text, and parallel sentence pairs).
Limitations:
Trained on the full cfilt/iitb-english-hindi dataset:
Each example is an English-Hindi sentence pair. Preprocessing tokenized both source and target text with the model's own tokenizer, truncating to a max length of 128 tokens for both input and target sequences.
Seq2SeqTrainerThe following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Bleu |
|---|---|---|---|---|
| 2.0303 | 1.0 | 69129 | 2.8119 | 14.0464 |
| 1.9203 | 2.0 | 138258 | 2.7148 | 14.7300 |
Final test set results: Loss: 2.6039, BLEU: 15.90