Update README.md
Browse files
README.md
CHANGED
@@ -202,9 +202,12 @@ model = AutoGPTQForCausalLM.from_quantized(model_name_or_path,
|
|
202 |
"""
|
203 |
|
204 |
prompt = "Tell me about AI"
|
205 |
-
|
206 |
-
|
207 |
-
|
|
|
|
|
|
|
208 |
'''
|
209 |
|
210 |
print("\n\n*** Generate:")
|
|
|
202 |
"""
|
203 |
|
204 |
prompt = "Tell me about AI"
|
205 |
+
system_message = "You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information."
|
206 |
+
prompt_template=f'''[INST] <<SYS>>
|
207 |
+
{system_message}
|
208 |
+
<</SYS>>
|
209 |
+
|
210 |
+
{prompt} [/INST]
|
211 |
'''
|
212 |
|
213 |
print("\n\n*** Generate:")
|