eval_config.yaml 1.7 KB

123456789101112131415161718192021222324252627
  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, make the answer as concise as possible,
  5. The returned answer should be no more than 100 words.Please return the answers in text directly without any special tokens.
  6. judge_prompt_template: >
  7. You have been provided with a question, a teacher's answer and a student's answer above. Given that question, you need to score the how good the student answer is compare to
  8. the teacher's answer. If the student's answer is correct based on the teacher's answer, then return YES, else return NO.
  9. Review it carefully to make sure that the keywords and numerical vaules are exactly the same.
  10. Only respond with "YES" or "NO", do not respond with anything else.
  11. RAG_prompt_template: >
  12. Question: {question}\n Context: {context}\n
  13. Answer this question using the information given in the context above. Here is things to pay attention to:
  14. - First provide step-by-step reasoning on how to answer the question.
  15. - 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.
  16. - End your response with final answer in the form <ANSWER>: $answer, the answer should be succinct.
  17. You MUST begin your final answer with the tag "<ANSWER>:
  18. eval_json: "./evalset.json"
  19. raft_model_name: "raft-8b"
  20. base_model_name: "meta-llama/Meta-Llama-3-8B-Instruct"
  21. data_dir: "./data"