IMD Weather Alert MT
English to Hindi translation built for weather alerts. Turn India Meteorological Department (IMD) style bulletins and warnings into clear Hindi, with every number and Bihar district name checked automatically.
In a weather warning, one wrong figure or place name is a safety problem. IMD Weather Alert MT checks each translation against the English source and tells you when a person needs to review it.
Key features
- Accurate on weather alerts: made for the fixed wording of IMD bulletins.
- Automatic checks: compares numbers and district names in every translation with the English source.
- Clear review signal: marks each result as verified, or lists exactly what did not match.
- Ready to integrate: a few lines of Python, on GPU or CPU.
Performance
Measured on 1,000 IMD bulletin sentences.
| Measure | Result |
|---|---|
| Numbers exact | 100% |
| District names exact | 100% |
| BLEU | 55.65 |
| chrF++ | 72.43 |
See it in action
| English | Hindi |
|---|---|
| Heavy rainfall is very likely at isolated places over Patna district in next 24 hours. | अगले 24 घंटों में पटना जिले के अलग-अलग स्थानों पर भारी वर्षा की प्रबल संभावना है। |
| Moderate thunderstorm with wind speed 30-40 kmph is very likely over Gaya and Nalanda districts. | गया एवं नालंदा जिलों में 30-40 किमी/घंटा की गति से तेज हवाओं के साथ मध्यम गरज-चमक की प्रबल संभावना है। |
Get started
1. Request access. Click the access button on this page and state your purpose of use. Requests are approved automatically.
2. Install. Log in with a token that has read access, then download the model and its requirements:
hf auth login
hf download helloboyn/english-hindi-imd-mt --local-dir english-hindi-imd-mt
pip install -r english-hindi-imd-mt/requirements.txt
3. Translate. Run this from the folder that contains english-hindi-imd-mt:
import sys
sys.path.insert(0, "english-hindi-imd-mt")
from imd_translate import IMDTranslator
translator = IMDTranslator("english-hindi-imd-mt")
results = translator.translate([
"Heavy rainfall is very likely at isolated places over Patna district in next 24 hours."
])
for r in results:
print(r["translation"], r["verified"], r["problems"])
Verified results
"verified": Truemeans the numbers and district names match the English source."verified": Falsemeans a mismatch remains, and"problems"lists it. A person must review this translation before it is sent out.
Verification covers numbers and district names only, so human review is still recommended for public warnings.
Scope
- Designed for weather bulletins and alerts, not general-purpose translation.
- Translates English to Hindi only.
- District checks cover the 38 districts of Bihar.