Few-Shot#
Few-shot learning is similar to enabling an instance to perform tasks with minimal examples.#
For instance:
Prompt:
Positive : "This is awesome!"
Negative : "This is bad!"
Positive : "Wow, that movie was rad!"
What a horrible show!"Output:
Negative Limitations of Few-shot#
Few-shot learning may not achieve perfection in inference tasks
For instance:
The odd numbers in this group add up to an even number: 15, 32, 5, 13, 82, 7, 1. A: Output:
Yes, the odd numbers in this group add up to 107, which is an even number.Next Steps in Prompt Engineering#
- Start simpler with Zero-Shot Prompting when no examples are needed.
- Combine examples with step-by-step reasoning in Chain-of-Thought (CoT) Prompting.

