Generated Knowledge Prompting | Prompt Engineering Guide
LLMs continue to be improved and one popular technique includes the ability to incorporate knowledge or information to help the model make more accurate predictions. Using a similar idea, can the model also be used to generate knowledge before making a prediction? That's what is attempted in the paper by Liu et al. 2022 (opens in a new tab) -- generate knowledge to be used as part of the prompt. In particular, how helpful is this for tasks such as commonsense reasoning? Let's try a simple prompt: Prompt: Output: This type of mistake reveals the limitations of LLMs to perform tasks that require more knowledge about the world. How do we improve this with knowledge generation? First, we generate a few "knowledges": Prompt: Knowledge 1: Knowledge 2: We are using the prompt provided in the paper by Liu et al. 2022 (opens in a new tab) . The next step is to integrate the knowledge and get a prediction. I reformatted the question into QA format to guide the answer format. Prompt: Answer 1 (c
Prompting Techniques Generate Knowledge Prompting Copy page Generated Knowledge Prompting Image Source: Liu et al. 2022 (opens in a new tab) LLMs continue to be improved and one popular technique includes the ability to incorporate knowledge or information to help the model make more accurate predictions. Using a similar idea, can the model also be used to generate knowledge before making a prediction? That's what is attempted in the paper by Liu et al. 2022 (opens in a new tab) -- generate knowledge to be used as part of the prompt. In particular, how helpful is this for tasks such as commons
Explore this link on the map →saved by
related reading
- Prompt Chaining | Prompt Engineering Guidepromptingguide.ai
- Chain-of-Thought Prompting | Prompt Engineering Guidepromptingguide.ai
- Few-Shot Prompting | Prompt Engineering Guidepromptingguide.ai
- GitHub - brexhq/prompt-engineering: Tips and tricks for working with Large Language Models like OpenAI's GPT-4. · GitHubgithub.com
- Chain-of-Thought Promptinglearnprompting.org
- [2201.11903] Chain of Thought Prompting Elicits Reasoning in Large Language Modelsarxiv.org
- Prompt Engineering | Lil'Loglilianweng.github.io
- Prompt engineering | OpenAI APIplatform.openai.com
- GitHub - f/prompts.chat: f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy. · GitHubgithub.com
- Prompt Engineering | Kagglekaggle.com
- Prompt Engineering Tips and Tricks with GPT-3 · andrew makes thingsblog.andrewcantino.com
- [2210.02441] Ask Me Anything: A simple strategy for prompting language modelsarxiv.org