Skip to content

Commit 3d6d0fa

Browse files
committed
Add math system prompt for Llama3
1 parent e419f40 commit 3d6d0fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dart_math/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@
136136
id="llama3-math",
137137
sys_prompt=(
138138
"<|begin_of_text|>"
139-
# + "<|start_header_id|>system<|end_header_id|>\n\n"
140-
# + "You are a helpful assistant."
141-
# + "<|eot_id|>"
139+
+ "<|start_header_id|>system<|end_header_id|>\n\n"
140+
+ "You are a helpful agent on solving math problems."
141+
+ "<|eot_id|>"
142142
),
143143
query_prompt="<|start_header_id|>" + "user" + "<|end_header_id|>" + "\n\n",
144144
# {query}

0 commit comments

Comments
 (0)