Update stop sequences for chat
This commit is contained in:
parent
83b2be6dc4
commit
a6372a7ae5
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ class Llama:
|
|||
for message in messages
|
||||
)
|
||||
PROMPT = chat_history + "### Assistant:"
|
||||
PROMPT_STOP = ["### Assistant:", "### Human:", "\n"]
|
||||
PROMPT_STOP = ["### Assistant:", "### Human:"]
|
||||
completion_or_chunks = self(
|
||||
prompt=PROMPT,
|
||||
stop=PROMPT_STOP + stop,
|
||||
|
|
Loading…
Reference in a new issue