AFischer1985 commited on
Commit
e042985
·
verified ·
1 Parent(s): 48a2178

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
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|>"