We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b2be6 commit a6372a7Copy full SHA for a6372a7
llama_cpp/llama.py
@@ -701,7 +701,7 @@ def create_chat_completion(
701
for message in messages
702
)
703
PROMPT = chat_history + "### Assistant:"
704
- PROMPT_STOP = ["### Assistant:", "### Human:", "\n"]
+ PROMPT_STOP = ["### Assistant:", "### Human:"]
705
completion_or_chunks = self(
706
prompt=PROMPT,
707
stop=PROMPT_STOP + stop,
0 commit comments