Example

Complete DTG Prompt Template for Chinese-to-English Translation

A complete prompt template for the Deliberate-then-Generate (DTG) method in a Chinese-to-English translation task involves a multi-step structure. First, it presents the source Chinese sentence and its initial English translation. Then, it directs the model to analyze the translation by identifying any errors and subsequently generating a refined version. Finally, it cues the model's output by explicitly starting the response line with 'Error Type:'. The full template is structured as follows:

Given the Chinese sentence: {*source*} The English translation is: {*target*} Please first detect the type of error, and then refine the translation. Error Type:

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences