Zero-shot vs Few-shot Prompting
Zero-shot Prompting
No examples provided. Model relies on:
Example: "Classify this review as positive or negative: [review]"
Few-shot Prompting
Provide examples to guide the model.
Example: "Classify reviews: Review: Great product! → Positive Review: Terrible quality → Negative Review: [new review] → "
When to Use Which?
Zero-shot:
Few-shot: