Short Answer

Improving Sarcasm Detection in a Language Model

An analyst is using a language model to classify customer feedback. The model correctly classifies straightforward comments but fails on sarcastic ones. For example, when given the prompt Classify the sentiment of this feedback as Positive, Negative, or Neutral: 'Oh fantastic, my package arrived a week late. Just what I wanted.', the model incorrectly responds Positive. Design a new, single prompt that incorporates a step-by-step reasoning process to guide the model to the correct answer for this specific feedback.

0

1

Updated 2025-10-02

Contributors are:

Who are from:

Tags

Ch.3 Prompting - 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