Essay

Evaluating Prompt Demonstrations for Sentiment Analysis

A developer is creating a system to classify customer reviews as 'Positive', 'Negative', or 'Neutral'. They have two options for the examples they will include in the instructions given to a large language model.

Option A: Review: "I love this phone, it's the best!" Sentiment: Positive Review: "This is the worst product I have ever bought." Sentiment: Negative

Option B: Review: "The camera quality is outstanding and the battery lasts all day." Sentiment: Positive Review: "The screen is prone to scratches and the software is buggy." Sentiment: Negative Review: "The phone was delivered in the original packaging." Sentiment: Neutral

Evaluate which set of examples (Option A or Option B) is more likely to lead to better performance for the classification task. Justify your evaluation by explaining the principles of providing effective demonstrations to a model.

0

1

Updated 2025-10-09

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

Evaluation in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science