File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 8080 "<|User|>Complete the following Python function:\n \n {{problem}}"
8181 "<|Assistant|>Sure! Here is how you might implement the function:\n \n ```python\n {{problem}}" ,
8282 " "
83+ ),
84+ "minimax" : (
85+ "]~!b[]~b]system\n "
86+ "You are a helpful AI coding assistant.[e~[\n "
87+ "]~b]user\n "
88+ "Complete the following Python function:\n \n {{problem}}[e~[\n "
89+ "]~b]ai\n "
90+ "<think> </think>"
91+ "Sure! Here is how you might implement the function:\n \n ```python\n {{problem}}" ,
92+ " "
8393 )
8494}
8595
@@ -134,7 +144,7 @@ def main(args):
134144 input_ids = input_ids ,
135145 sampler = sampler ,
136146 max_new_tokens = args .max_tokens ,
137- stop_conditions = [tokenizer .eos_token_id ],
147+ stop_conditions = [tokenizer .eos_token_id , "```" ],
138148 token_healing = True ,
139149 identifier = (problem_id , s ),
140150 min_new_tokens = 6
You can’t perform that action at this time.
0 commit comments