Prompt for a Classification Task
A prompt for a classification task is a specific instruction given to a language model to categorize a given piece of text into one of several predefined classes. This directs the model to perform a sorting or labeling function rather than generating new text or extracting information.
0
1
Tags
Ch.4 Alignment - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Learn After
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