Prompting¶
Prompting is a challenging task, with many small nuances that we need to take note of. We've created examples of 58 different prompting techniques* that you can take advantage of today in order to get a quick boost to your model's performance.
The prompting techniques are separated into the following categories - Zero Shot, Few Shot, Thought Generation, Ensembling, Self-Criticism and Decomposition.
Each of these techniques offers unique advantages in different scenarios. Click on the links to learn more about each method and how to apply them effectively in your prompts.
Zero-Shot¶
Before you get any examples, how can you maximise the effectiveness of your prompt? Zero Shot techniques help us to do so well.
- Emotion Prompting
- Role Prompting
- Style Prompting
- S2A (Sentence to Action)
- SimToM (Simulated Theory of Mind)
- RaR (Retrieval-augmented Response)
- RE2 (Recursive Explanation and Elaboration)
- Self-Ask
Few-Shot¶
When choosing examples, how can we ensure they make a big difference in our model's performance? This isn't an easy thing to do and so we've broken it down into a few different things
Thought Generation¶
How can we encourage our model to reason better to get to the final result?
- Analogical Prompting
- Step-Back Prompting
- Thread-of-Thought (ThoT)
- Tab-CoT
- Active-Prompt
- Auto-CoT
- Complexity-Based
- Contrastive
- Memory-of-Thought
- Uncertainty-Routed CoT
- Prompt Mining
Ensembling¶
How can we combine multiple parallel inference calls to get a significant boost in performance? Ensembling techniques allow us to leverage the strengths of multiple model runs, potentially leading to more accurate and robust results.
- COSP
- DENSE
- DiVeRSe
- Max Mutual Information
- Meta-CoT
- MoRE
- Self-Consistency
- Universal Self-Consistency
- USP
- Prompt Paraphrasing
Self-Criticism¶
What concrete steps can we take to get our model to critically evaluate and improve its own outputs? Self-criticism methods encourage the model to evaluate and refine its responses, promoting higher quality and more thoughtful outputs.
Decomposition¶
How can we break down complex problems into more manageable parts? Decomposition prompting methods offer an effective strategy to approach intricate questions by dividing them into smaller, more manageable sub-questions, allowing for a more structured and comprehensive problem-solving approach.
- DECOMP
- Faithful CoT
- Least-to-Most
- Plan-and-Solve
- Program-of-Thought
- Recurs.-of-Thought
- Skeleton-of-Thought
- Tree-of-Thought
*: The Prompt Report: A Systematic Survey of Prompting Techniques