Learn Before
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
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Foundations of Large Language Models Course
Related
Examples of Requirement-Based Text Generation
Example of Constrained Text Generation: Chinese Poem
A user provides the following instructions to a text generation model: 'Write a three-sentence summary of a company's quarterly earnings report. The tone must be formal and objective, and it must include the exact phrase "year-over-year growth".' Which of the following outputs best fulfills all the user's requirements?
Evaluating Generated Text Against User Requirements
Conditional Probability Formula for Sequence Generation
Formulating Effective Text Generation Instructions
Learn After
Example Prompt for Generating a Chinese Poem
A developer is testing a language model's ability to follow a complex set of rules that govern not just the topic, but also the specific structure and stylistic conventions of the output. Which of the following tasks would be the most effective and direct test of this specific capability?
Analyzing Task Complexity in Text Generation
Troubleshooting Constrained Text Generation