config.yaml 991 B

123456789101112131415161718192021222324252627282930
  1. question_prompt_template: >
  2. You are a quiz expert, you will be provided with a document,
  3. read it and generate question and answer pairs
  4. that are most likely be asked by a use of llama that just want to start,
  5. please make sure you follow those rules,
  6. 1. Generate only {total_questions} question answer pairs.
  7. 2. Generate in {language}.
  8. 3. The questions can be answered based *solely* on the given passage.
  9. 4. Avoid asking questions with similar meaning.
  10. 5. Make the answer as concise as possible, it should be at most 60 words.
  11. 6. Provide relevant links from the document to support the answer.
  12. 7. Never use any abbreviation.
  13. 8. Return the result in json format with the template:
  14. [
  15. {{
  16. "question": "your question A.",
  17. "answer": "your answer to question A."
  18. }},
  19. {{
  20. "question": "your question B.",
  21. "answer": "your answer to question B."
  22. }}
  23. ]
  24. data_dir: "./data"
  25. language: "English"
  26. total_questions: 2