A data scientist needs to classify movie reviews into one of two categories: 'Recommended' or 'Not Recommended'. Which of the following prompts is best structured to ensure the language model consistently provides one of the desired labels for the input text?
0
1
Tags
Ch.1 Pre-training - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Ch.3 Prompting - Foundations of Large Language Models
Evaluation in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A developer is creating a prompt to have a language model classify customer feedback. The model's outputs are inconsistent, sometimes generating long sentences instead of a simple category. Analyze the prompt below and identify the most critical missing component that is likely causing this issue.
Prompt:
Identify the sentiment of the following text. Input: The user interface is confusing and difficult to navigate.Constructing a Classification Prompt
A data scientist needs to classify movie reviews into one of two categories: 'Recommended' or 'Not Recommended'. Which of the following prompts is best structured to ensure the language model consistently provides one of the desired labels for the input text?