passdrill
AI & LLM Engineering · Prompt Engineering · Card 017/024 easy

Liu et al. (2022), "Generated Knowledge Prompting for Commonsense Reasoning," propose a two-stage prompting pipeline for commonsense question answering. What are the two stages?

  1. First, retrieve documents from a fixed external knowledge base such as an encyclopedia; second, fine-tune the model's weights on those retrieved documents before it answers the question
  2. First, ask the model to answer the question directly with no context; second, ask a different model to translate that answer into another language to check consistency
  3. First, prompt a language model to generate several relevant knowledge statements about the question's topic; second, provide those generated knowledge statements as additional context alongside the original question in a separate prompt that produces the final answer
  4. First, generate several candidate final answers; second, average their token probabilities together to produce a single blended answer string
Next card → Shuffle