Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -75,8 +75,11 @@ prompt_template = """### HUMAN:
|
|
75 |
### RESPONSE:"""
|
76 |
|
77 |
|
78 |
-
prompt_template = """
|
79 |
-
|
|
|
|
|
|
|
80 |
|
81 |
|
82 |
prompt_template = """
|
@@ -84,9 +87,8 @@ HUMAN: {question}
|
|
84 |
ASSISTANT:"""
|
85 |
|
86 |
|
87 |
-
prompt_template = """
|
88 |
-
|
89 |
-
Assistant: """
|
90 |
|
91 |
_ = [elm for elm in prompt_template.splitlines() if elm.strip()]
|
92 |
stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
|
|
|
75 |
### RESPONSE:"""
|
76 |
|
77 |
|
78 |
+
prompt_template = """System: You are a helpful assistant.
|
79 |
+
User: {question}
|
80 |
+
Assistant: """
|
81 |
+
|
82 |
+
|
83 |
|
84 |
|
85 |
prompt_template = """
|
|
|
87 |
ASSISTANT:"""
|
88 |
|
89 |
|
90 |
+
prompt_template = """<|prompt|>:{question}</s>
|
91 |
+
<|answer|>:"""
|
|
|
92 |
|
93 |
_ = [elm for elm in prompt_template.splitlines() if elm.strip()]
|
94 |
stop_string = [elm.split(":")[0] + ":" for elm in _][-2]
|