Example of an Article Summarization Prompt with a Word Constraint
An example of a constrained text transformation task involves prompting a language model with the instruction 'Summarize the following article in no more than 50 words:', followed by a source text detailing urban sustainability challenges. The model is expected to output a concise overview, such as 'Urban areas are grappling with sustainability challenges, such as rising pollution, traffic congestion, and infrastructure demands...', adhering strictly to the prescribed length constraint.
0
1
Tags
Foundations of Large Language Models
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
A user wants to generate a summary of a long business report that consists of exactly three bullet points. Which of the following instructions is best designed to guide a language model to produce this specific output?
Improving a Prompt for a Specific Use Case
Evaluating Prompt Effectiveness for Summarization
Example of an Article Summarization Prompt with a Word Constraint