Prompt Design for Generative Classification
A developer needs to classify short user feedback messages into one of three categories: 'Bug Report', 'Feature Request', or 'General Inquiry'. Following the principle of reframing classification as a generation task, write a complete and effective prompt you would give to a large language model to classify the following user message: 'The login button isn't working on the mobile app.'
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
Example of a Prompt for Classification via Completion
A developer is building a system to categorize user reviews as either 'Positive' or 'Negative'. A traditional approach would involve a model that outputs a single, predefined label (e.g., the word 'Positive'). How does reframing this task as a text generation problem for a large language model fundamentally change the model's expected output?
Reframing Review Classification
Prompt Design for Generative Classification