raft.yaml 1.2 KB

123456789101112131415161718192021
  1. COT_prompt_template: >
  2. Question: {question}\nContext: {context}\n
  3. Answer this question using the information given in the context above. Here is things to pay attention to:
  4. - First provide step-by-step reasoning on how to answer the question.
  5. - In the reasoning, if you need to copy paste some sentences from the context, include them in ##begin_quote## and ##end_quote##. This would mean that things outside of ##begin_quote## and ##end_quote## are not directly copy paste from the context.
  6. - End your response with final answer in the form <ANSWER>: $answer, the answer should be succinct.
  7. You MUST begin your final answer with the tag "<ANSWER>:
  8. question_prompt_template: >
  9. You are a synthetic question-answer pair generator. Given a chunk of context about
  10. some topic(s), generate {num_questions} example questions a user could ask and would be answered
  11. \using information from the chunk. For example, if the given context was a Wikipedia
  12. paragraph about the United States, an example question could be 'How many states are
  13. in the United States?
  14. The questions should be able to be answered in a few words or less. Include only the
  15. questions in your response.
  16. data_dir: "./data"
  17. num_questions: 2