Spaces:
Sleeping
Sleeping
Add in prompt fix to mentioning they/them
Browse files
app.py
CHANGED
@@ -68,7 +68,8 @@ def init_chain(model, tokenizer, db, embed, temp, max_new_tokens, top_p, top_k,
|
|
68 |
questionprompt = PromptTemplate.from_template(
|
69 |
"""<s>[INST]
|
70 |
Use the following pieces of context to answer the question at the end.
|
71 |
-
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
|
|
72 |
CONTEXT: {context}
|
73 |
CHAT HISTORY: {chat_history}
|
74 |
QUESTION: {question}
|
|
|
68 |
questionprompt = PromptTemplate.from_template(
|
69 |
"""<s>[INST]
|
70 |
Use the following pieces of context to answer the question at the end.
|
71 |
+
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
72 |
+
Instead of they/them refer to Dmytro Kisil as he/him.
|
73 |
CONTEXT: {context}
|
74 |
CHAT HISTORY: {chat_history}
|
75 |
QUESTION: {question}
|