Machine Translation using LLMs
The T5
tokenizer used for this model requires prompting for NLP tasks.
Format: Translate <lang1>
to <lang2>
: Source <lang1>
sentence.
Sample input:
Prompt for English to French Translation:
- Translate English to French: How fortunate are we to be alive in the age of Generative AI!
Prompt for French to English Translation:
- Translate French to English: quel moment nous sommes heureux d’être vivants à l’
References:
[1] Raffel, Colin, et al. “Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer.” arXiv preprint arXiv:1910.10683 (2019).
Last updated: Oct 2023