Learn Before
Example

Example of a Name:Content Prompt for Task Specification

The 'name:content' format can be extended to outline complex task specifications. For example, a machine translation task can be formally described by defining its parameters: Task: Translation, Source language: English, Target language: Chinese, and Style: Formal text. This is followed by the actual prompt template, such as Template: Translate the following sentence: {*sentence*}. This clear, field-based structure helps guide the language model accurately.

0

1

Updated 2026-04-29

Contributors are:

Who are from:

Tags

Foundations of Large Language Models

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences