Hindi to Urdu translation model translate-hi-ur
Open machine translation from Hindi into Urdu, published by Windstorm Labs on Hugging Face.
- Task
- Translation: Hindi → Urdu
- Languages
- Hindi hi, Urdu ur
- Lineage
- OPUS-MT
- Format
- transformers (Marian), safetensors
- Hugging Face
- WindyTranslate/translate-hi-ur
- Last updated on HF
- 2026-07-30
Quality
| Benchmark | chrF++ | BLEU | Band | Measured |
|---|---|---|---|---|
| FLORES-200 dev, 48 sentences | 23.02 | 2.78 | Limited | 2026-08-04 |
A screening score on 48 sentences, not a publication result. Bands: Excellent ≥ 60, Good 45–60, Usable 30–45, Limited 15–30, Not recommended < 15. Method and caveats.
Recorded output (sentence 1, first 110 characters)
- Source
- सोमवार को, स्टैनफ़ोर्ड यूनिवर्सिटी स्कूल ऑफ़ मेडिसिन के वैज्ञानिकों ने एक नए डायग्नोस्टिक उपकरण के आविष्कार की…
- Reference
- پیر کے روز، سٹینفورڈ اسکول آف میڈیسن کے سائنسدانوں نے ایک جدید تشخیصی آلہ دریافت کرنے کا اعلان کیا ہے جو خلیوں…
- This model
- سولہویں یونیورسٹی کے سائنسدانوں نے ایک نئی ڈائریکٹر کا اِشتہار دیا جو اُن کے خلیے کو بنانے کے لیے استعمال ہوتا
How to run
Shell
pip install transformers sentencepiece torchPython
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
repo = "WindyTranslate/translate-hi-ur"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSeq2SeqLM.from_pretrained(repo)
batch = tok(["<Hindi text>"], return_tensors="pt", padding=True)
print(tok.batch_decode(model.generate(**batch), skip_special_tokens=True)[0])Tested: Pattern run on 2026-10-01 against WindyTranslate/translate-tc-big-en-fr with transformers 4.57.6 and 5.18.0 on CPU ("Où se trouve la gare ?"); multi-target token prefix run against translate-tc-bible-big-mul-deu_eng_nld. Not run on every model individually.
Licence and attribution
- Licence
- Apache-2.0
- Upstream
- Helsinki-NLP/opus-mt-hi-ur
- Upstream licence
- Apache-2.0
- Attribution
- Based on OPUS-MT model Helsinki-NLP/opus-mt-hi-ur by Helsinki-NLP (Language Technology Research Group, University of Helsinki). Licensed Apache-2.0.
Copy this into your NOTICE file (or equivalent) when you ship the model:
NOTICE
This product uses the model WindyTranslate/translate-hi-ur
(https://huggingface.co/WindyTranslate/translate-hi-ur), published by Windstorm Labs (https://windstormlabs.com).
Based on OPUS-MT model Helsinki-NLP/opus-mt-hi-ur by Helsinki-NLP (Language Technology Research Group, University of Helsinki). Licensed Apache-2.0.
Windstorm Labs modified the upstream weights; the model card describes what was changed.
Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0This is a convenience, not legal advice. See Licensing.
Related models
| Model | chrF++ (FLORES-200 dev) | Licence |
|---|---|---|
| Hindi to English translate-hi-en | 40.5 Usable | Apache-2.0 |
| English to Urdu translate-en-ur | 22.1 Limited | Apache-2.0 |
| English to Urdu translate-windy-hplt-en-ur | score withheld | CC-BY-4.0 |