10000 Merge branch 'main' of github.com:abetlen/llama_cpp_python into main · jerryrelmore/llama-cpp-python@a928893 · GitHub
[go: up one dir, main page]

Skip to content

Commit a928893

Browse files
committed
Merge branch 'main' of github.com:abetlen/llama_cpp_python into main
2 parents 6308f21 + aa5a7a1 commit a928893

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Note: If you are using Apple Silicon (M1) Mac, make sure you have installed a ve
4545
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
4646
bash Miniforge3-MacOSX-arm64.sh
4747
```
48-
Otherwise, while installing it will build the llama.ccp x86 version which will be 10x slower on Apple Silicon (M1) Mac.
48+
Otherwise, while installing it will build the llama.cpp x86 version which will be 10x slower on Apple Silicon (M1) Mac.
4949

5050
### Installation with Hardware Acceleration
5151

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