winglian commited on
Commit
dfe6be1
1 Parent(s): 24b11c7

fix chat prompts for vicuna

Browse files
Files changed (1) hide show
  1. tabbed.py +1 -1
tabbed.py CHANGED
@@ -32,7 +32,7 @@ def chat(history, system_message, max_tokens, temperature, top_p, top_k, repeat_
32
  history = history or []
33
 
34
  messages = system_message + \
35
- "\n".join(["\n".join(["### User: "+item[0], "Assistant: "+item[1]])
36
  for item in history])
37
 
38
  history[-1][1] = ""
 
32
  history = history or []
33
 
34
  messages = system_message + \
35
+ "\n".join(["\n".join(["USER: "+item[0], "ASSISTANT: "+item[1]])
36
  for item in history])
37
 
38
  history[-1][1] = ""