s3nh commited on
Commit
8e2dd11
1 Parent(s): f902c1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -87,6 +87,13 @@ ASSISTANT: """
87
  prompt_template = """<|prompt|>:{question}</s>
88
  <|answer|>:"""
89
 
 
 
 
 
 
 
 
90
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
91
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
92
 
 
87
  prompt_template = """<|prompt|>:{question}</s>
88
  <|answer|>:"""
89
 
90
+
91
+
92
+ prompt_template = """### HUMAN:
93
+ {question}
94
+ ### RESPONSE:"""
95
+
96
+
97
  _ = [elm for elm in prompt_template.splitlines() if elm.strip()]
98
  stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
99