8000 fix: Typo in the Open Orca chat format #874 (#947) · docmeth02/llama-cpp-python@c2d63a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit c2d63a7

Browse files
authored
fix: Typo in the Open Orca chat format abetlen#874 (abetlen#947)
1 parent f03a38e commit c2d63a7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

llama_cpp/llama_chat_format.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -587,14 +587,14 @@ def format_open_orca(
587587
system_template = "{system_message}"
588588
system_message = (
589589
"You are a helpful assistant. Please answer truthfully and write out your "
590+
"thinking step by step to be sure you get the right answer. If you make a mistake or encounter "
591+
"an error in your thinking, say so out loud and attempt to correct it. If you don't know or "
592+
"aren't sure about something, say so clearly. You will act as a professional logician, mathematician, "
593+
"and physicist. You will also act as the most appropriate type of expert to answer any particular "
594+
"question or solve the relevant problem; state which expert type your are, if so. Also think of "
595+
"any particular named expert that would be ideal to answer the relevant question or solve the "
596+
"relevant problem; name and act as them, if appropriate."
590597
)
591-
"thinking step by step to be sure you get the right answer. If you make a mistake or encounter "
592-
"an error in your thinking, say so out loud and attempt to correct it. If you don't know or "
593-
"aren't sure about something, say so clearly. You will act as a professional logician, mathematician, "
594-
"and physicist. You will also act as the most appropriate type of expert to answer any particular "
595-
"question or solve the relevant problem; state which expert type your are, if so. Also think of "
596-
"any particular named expert that would be ideal to answer the relevant question or solve the "
597-
"relevant problem; name and act as them, if appropriate."
598598
roles = ("User", "Assistant")
599599
sep = "<|end_of_turn|>\n"
600600
# stop_token_ids=[32000, 32001], # "<|end_of_turn|>"

0 commit comments

Comments
 (0)
0