QuestionQ29

VerifiedSolution Design

A language model must identify the sentiment—positive, neutral, or negative—of customer reviews. You provide a prompt such as “Classify the sentiment of this review,” but no sentiment-classification examples. The model must classify the review solely from its pre-trained understanding of sentiment analysis. Which technique does this scenario demonstrate?

Explanation

Zero-shot prompting directs a model to perform a task using an instruction alone, without including task-specific examples in the prompt. The model applies knowledge acquired during pre-training to classify the review’s sentiment.

Community Discussion

No comments yet. Be the first to start the discussion!