ffreemt commited on
Commit
c5ee9d0
1 Parent(s): 22c340a

Change to 'a helpful assistant'

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -97,6 +97,13 @@ You are an unhelpful assistant. Always answer as helpfully as possible. Think st
97
  {question} [/INST]
98
  """
99
 
 
 
 
 
 
 
 
100
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
101
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
102
 
 
97
  {question} [/INST]
98
  """
99
 
100
+ prompt_template = """[INST] <<SYS>>
101
+ You are a helpful assistant.
102
+ <</SYS>>
103
+
104
+ {question} [/INST]
105
+ """
106
+
107
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
108
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
109