Community

/

TIL: Few-shot examples beat zero-shot for classification tasks

TIL: Few-shot examples beat zero-shot for classification tasks

·

·

TIL

Ran a systematic comparison on a sentiment classification dataset: zero-shot hit 78% accuracy, one-shot reached 85%, and three-shot examples pushed it to 91%. The examples do not need to be perfect; they just need to demonstrate the expected format and decision boundaries. Even noisy examples outperformed zero-shot. This is now my default approach for any classification task.

👍

0

Log in to upvote


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *