dyyyyyyyy commited on
Commit
35e7866
1 Parent(s): 6932bd2

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="<|im_start|>system\nPlease reason step by step, and put your final answer within \\boxed{{}}.<|im_end|>\n"
63
- query_prompt="<|im_start|>user" + "\n"
64
  # {query}
65
- prompt_after_query="<|im_end|>" + "\n"
66
- resp_prompt="<|im_start|>assistant" + "\n"
67
- prompt_before_resp=""
68
  # {resp}
69
- delim="<|im_end|>" + "\n"
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 = "<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n"
63
+ query_prompt = "<|im_start|>user" + "\n"
64
  # {query}
65
+ prompt_after_query = "\n" + "Please reason step by step, and put your final answer within \\boxed{}.<|im_end|>" + "\n"
66
+ resp_prompt = "<|im_start|>assistant" + "\n"
67
+ prompt_before_resp = ""
68
  # {resp}
69
+ delim = "<|im_end|>" + "\n"
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])