dyyyyyyyy commited on
Commit
06e75e0
·
verified ·
1 Parent(s): c796060

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -59,14 +59,14 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
59
 
60
  question = "Find the value of $x$ that satisfies the equation $4x+5 = 6x+7$."
61
 
62
- sys_prompt=""
63
- query_prompt="User:" + " "
64
  # {query}
65
- prompt_after_query="\n" + "Please reason step by step, and put your final answer within \\boxed{}." + "\n\n"
66
- resp_prompt="Assistant:" + " "
67
- prompt_before_resp=""
68
  # {resp}
69
- delim="<|end▁of▁sentence|>"
70
 
71
  prefix_prompt = f"{query_prompt}{question}{prompt_after_query}{resp_prompt}{prompt_before_resp}".rstrip(" ")
72
  full_prompt = sys_prompt + delim.join([prefix_prompt])
 
59
 
60
  question = "Find the value of $x$ that satisfies the equation $4x+5 = 6x+7$."
61
 
62
+ sys_prompt = ""
63
+ query_prompt = "User:" + " "
64
  # {query}
65
+ prompt_after_query = "\n" + "Please reason step by step, and put your final answer within \\boxed{}." + "\n\n"
66
+ resp_prompt = "Assistant:" + " "
67
+ prompt_before_resp = ""
68
  # {resp}
69
+ delim = "<|end▁of▁sentence|>"
70
 
71
  prefix_prompt = f"{query_prompt}{question}{prompt_after_query}{resp_prompt}{prompt_before_resp}".rstrip(" ")
72
  full_prompt = sys_prompt + delim.join([prefix_prompt])