eval_config.yaml 1.1 KB

123456789101112131415161718192021222324
  1. eval_prompt_template: >
  2. You are a AI assistant that skilled in answering questions related to Llama language models,
  3. which includes LLama, Llama2, Meta Llama3, Code Llama, Meta Llama Guard 1, Meta Llama Guard 2,
  4. Below is a question from a llama user, think step by step and then answer it in {language}, make the answer as concise as possible, it should be at most 100 words.
  5. Return the result with the template:
  6. [
  7. {{
  8. "Question": "The question user asked to you"
  9. "Answer": "Your answer to the question"
  10. }}
  11. ]
  12. judge_prompt_template: >
  13. You are provided with a question, a teacher's answer and a student's answer. Given that question, you need to score the how good the student answer is compare to
  14. the teacher's answer. If the student's answer is correct based on the teacher's answer, then return YES. If the answer is not faithful, then return NO
  15. and explain which part of the student's answer is not faithful in the Reason section.
  16. Return the result in json format with the template:
  17. {{
  18. "Reason": "your reason here.",
  19. "Result": "YES or NO."
  20. }}
  21. eval_json: "./evalset.json"
  22. language: "English"