Prompt for Translation Task

#4
by Aamod37 - opened

Please let us know the prompt for translating from English to Hindi and vice versa. We have tried from our side but have been unable to get the expected result.

"<|user|>Translate the below sentence to Hindi\n### अंग्रेजी: How are you?\n### हिंदी: <|assistant|>"
"<|user|>दिए गए पाठ को अंग्रेजी से हिंदी में अनुवाद करें।\n### अंग्रेजी: How are you?\n### हिंदी: <|assistant|>"

We are trying to replicate the score given in the paper. Please let us know if IndicTrans is used or Airawat for translation.

Thanks

f"<|user|>Translate the following sentence(s) from {language_1} into {language_2}.\n\n{language_1}: How are you?\n{language_2}:<|assistant|>"

Example:
f"<|user|>Translate the following sentence(s) from English into Hindi.\n\nEnglish: How are you?\nHindi:<|assistant|>"

Thanks to @jaygala24 for resolving this doubt.

Aamod37 changed discussion status to closed

Sign up or log in to comment