flâneur — a map of the web's best reading

Generated Knowledge Prompting | Prompt Engineering Guide

promptingguide.ai · 1,028 words · saved by 1 readers

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