Learn Before
Example of a Spam Classification Prompt
An example of a prompt for a classification task is instructing a model to identify spam. The prompt might be structured as: 'Classify the following email as spam or not spam. Text: Congratulations! You’ve won a $500 gift card. Click here to claim now.' The model's task is to assign either the 'spam' or 'not spam' label to the provided text.
0
1
Tags
Ch.4 Alignment - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Example of a Spam Classification Prompt
A developer needs to use a language model to automatically sort customer feedback into three categories: 'Positive', 'Negative', or 'Neutral'. Which of the following instructions would be most effective for this specific goal?
Evaluating a Prompt for Support Ticket Routing
Crafting a Prompt for News Article Categorization
Example of an Email Spam Classification Task