Analysis of Prompt Components for Polarity Classification
Consider the following prompt designed for a language model:
'Review: The plot was predictable and the acting was wooden.
What is the sentiment of this review?
Classify as one of: positive, negative, neutral.'
Break down this prompt into its three distinct functional parts and explain the specific purpose of the final part.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A developer wants to create a prompt that first presents a movie review, then asks about its sentiment, and finally provides a specific instruction on how the model should format its answer. Which of the following prompts best implements this structure?
Analysis of Prompt Components for Polarity Classification
You are constructing a prompt to classify a movie review. To ensure the model provides a single-word answer ('positive', 'negative', or 'neutral'), you decide to place the instructional command after the input text and question. Arrange the following components in the correct sequence to create the most effective prompt.