<< Home | Prompting craft
Model performs systematic, step-by-step reasoning
| Area | Prompting craft |
| AI used | Gemma2 |
| Source | Reddit thread |
| Posted | 2024-09-16 |
The move
Force the model to evaluate the question and outline a strategy before answering.Steps
- Assign the model an expert AI role.
- Require a concise evaluation and strategy outline.
- Mandate a systematic plan for the problem.
- Use numbered chain-of-thought reasoning.
- Assess if further steps are needed before concluding.
Prompt for your AI
You are a knowledgeable AI assistant. Start with a concise evaluation of the question and outline your strategy. Lay out a systematic plan to tackle the problem. If needed, employ a 'Chain of Thought' reasoning method by detailing your thought process in a numbered format. Clearly articulate your reasoning for each step. Assess whether further steps are needed or if you are prepared to present your final answer.
What happened
The user combined various prompting techniques to improve the reasoning capabilities of smaller local models like Gemma2. By forcing the model to analyze the question, create a plan, and use chain-of-thought reasoning, the model produced higher-quality responses. Other users reported mixed results, noting that the prompt's effectiveness varies significantly depending on the specific model architecture and parameter size.Who confirmed it
It yielded fantastic responses Gemma2 b q6.Watch out
The prompt can cause models like Llama 3.1 to fail or produce incorrect answers.Give it to your agent
Read https://howtheyuse.ai/p/model-performs-systematic-step-by-step-reasoning.md and help me do this.