Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|