Machine Translation with Large Language Models: Prompt Engineering for Persian, English, and Russian Directions
Pourkamali, Nooshin, Sharifi, Shler Ebrahim
–arXiv.org Artificial Intelligence
Generative large language models (LLMs) have demonstrated exceptional proficiency in various natural language processing (NLP) tasks, including machine translation, question answering, text summarization, and natural language understanding. To further enhance the performance of LLMs in machine translation, we conducted an investigation into two popular prompting methods and their combination, focusing on cross-language combinations of Persian, English, and Russian. We employed n-shot feeding and tailored prompting frameworks. Our findings indicate that multilingual LLMs like PaLM exhibit human-like machine translation outputs, enabling superior fine-tuning of desired translation nuances in accordance with style guidelines and linguistic considerations. These models also excel in processing and applying prompts. However, the choice of language model, machine translation task, and the specific source and target languages necessitate certain considerations when adopting prompting frameworks and utilizing n-shot in-context learning. Furthermore, we identified errors and limitations inherent in popular LLMs as machine translation tools and categorized them based on various linguistic metrics. This typology of errors provides valuable insights for utilizing LLMs effectively and offers methods for designing prompts for in-context learning. Our report aims to contribute to the advancement of machine translation with LLMs by improving both the accuracy and reliability of evaluation metrics.
arXiv.org Artificial Intelligence
Jan-16-2024
- Country:
- North America
- Dominican Republic (0.04)
- United States
- Texas > Travis County
- Austin (0.04)
- Pennsylvania > Philadelphia County
- Philadelphia (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Maryland > Howard County
- Columbia (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- California > San Francisco County
- San Francisco (0.14)
- Texas > Travis County
- Canada > Ontario
- Toronto (0.04)
- Europe
- Czechia > Prague (0.04)
- Bulgaria > Varna Province
- Varna (0.04)
- Hungary > Budapest
- Budapest (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- United Kingdom > England
- Greater London > London (0.04)
- Portugal > Lisbon
- Lisbon (0.04)
- Italy
- Liguria > Genoa (0.04)
- Trentino-Alto Adige/Südtirol > Trentino Province
- Trento (0.04)
- Finland > Pirkanmaa
- Tampere (0.04)
- Middle East > Republic of Türkiye
- Istanbul Province > Istanbul (0.04)
- Asia
- Singapore (0.04)
- Middle East
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Republic of Türkiye > Istanbul Province
- Istanbul (0.04)
- Iran > Isfahan Province
- Isfahan (0.04)
- UAE > Abu Dhabi Emirate
- Japan > Honshū
- Kantō > Tokyo Metropolis Prefecture > Tokyo (0.14)
- China > Shanghai
- Shanghai (0.04)
- North America
- Genre:
- Research Report > New Finding (1.00)
- Technology: