Crafting a Zero-Shot Prompt for Sentiment Analysis
You are tasked with using a large language model to classify the sentiment of the following movie review. The model must choose a label from {positive, negative, neutral}. Write a complete, self-contained prompt that instructs the model to perform this task on the given input without providing any examples.
Input: 'This film was a masterpiece of storytelling and cinematography. I was captivated from beginning to end.'
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
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A developer wants a large language model to determine the sentiment of a user's comment. The model should not be given any prior examples within the prompt itself, and the output must be one of the following labels: {positive, negative, neutral}. Which of the following prompts best follows these requirements?
Crafting a Zero-Shot Prompt for Sentiment Analysis
Diagnosing a Flawed Zero-Shot Prompt