Machine Translation with Large Language Models: Prompt Engineering for Persian, English, and Russian Directions

Nooshin Pourkamali, Shler Ebrahim Sharifi
1/16/2024
cs.CLcs.AIcs.HC

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pourkamali2024machine,
  title  = {Machine Translation with Large Language Models: Prompt Engineering for Persian, English, and Russian Directions},
  author = {Nooshin Pourkamali and Shler Ebrahim Sharifi},
  year   = {2024},
  eprint = {2401.08429},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.08429v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.08429.svg)](https://codeofpaper.com/paper/2401.08429)

Discussion