Hindi to Marwari Translation Script

Job ID: 39399776

Budget: ₹600 – ₹1,500 INR

I need a Python script that utilizes the IndicTrans model from AI4Bharat to translate Hindi text into Marwari.

Requirements:
- Input: .txt file with Hindi text
- Output: .txt file with Marwari translation
- Preserve paragraph formatting by adding line breaks between paragraphs
- Handle UTF-8 encoding
- Include pre-processing and model-loading steps
- Use HuggingFace’s Transformers library or appropriate method
- Environment with internet access, libraries installed via pip

Ideal skills and experience:
- Proficiency in Python
- Familiarity with HuggingFace Transformers
- Experience with text pre-processing and model deployment
- Knowledge of Hindi and Marwari languages