Example

Example of Constrained Text Generation: Chinese Poem

A specific example of generating text based on user requirements is the task of creating a five-character regulated Chinese poem. This task requires the model to follow strict constraints on form, style, and content, which would be specified in a prompt.

0

1

Updated 2026-04-29

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course