Spaces:
Runtime error
Runtime error
Update run.py
Browse files
run.py
CHANGED
@@ -170,7 +170,7 @@ def extend_prompt(message="", history=None, system=None, RAGAddon=None, system2=
|
|
170 |
template1="[INST] {message} [/INST]"
|
171 |
template2=" {response}</s>"
|
172 |
if("openchat-3.5" in modelPath): #https://huggingface.co/TheBloke/openchat-3.5-0106-GGUF
|
173 |
-
startOfString="<s>
|
174 |
template0="GPT4 Correct User: {system}<|end_of_turn|>GPT4 Correct Assistant: Okay.<|end_of_turn|>"
|
175 |
template1="GPT4 Correct User: {message}<|end_of_turn|>GPT4 Correct Assistant: "
|
176 |
template2="{response}<|end_of_turn|>"
|
|
|
170 |
template1="[INST] {message} [/INST]"
|
171 |
template2=" {response}</s>"
|
172 |
if("openchat-3.5" in modelPath): #https://huggingface.co/TheBloke/openchat-3.5-0106-GGUF
|
173 |
+
startOfString="<s>"
|
174 |
template0="GPT4 Correct User: {system}<|end_of_turn|>GPT4 Correct Assistant: Okay.<|end_of_turn|>"
|
175 |
template1="GPT4 Correct User: {message}<|end_of_turn|>GPT4 Correct Assistant: "
|
176 |
template2="{response}<|end_of_turn|>"
|