Troubleshooting a Polarity Classification Prompt
A junior developer is using a large language model to classify user reviews but is receiving inconsistent and overly conversational responses. Analyze the developer's prompt below, identify its primary weakness, and explain how you would rewrite it to reliably produce a single-word classification from the set: 'positive', 'negative', or 'neutral'.
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 needs to use a language model to categorize customer feedback into one of three specific classes: 'positive', 'negative', or 'neutral'. Which of the following prompts is most effectively designed to ensure the model provides a reliable and constrained classification for the given text?
Troubleshooting a Polarity Classification Prompt
Constructing a Polarity Classification Prompt