TheBloke commited on
Commit
80b2bea
1 Parent(s): a77a245

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -3
README.md CHANGED
@@ -202,9 +202,12 @@ model = AutoGPTQForCausalLM.from_quantized(model_name_or_path,
202
  """
203
 
204
  prompt = "Tell me about AI"
205
- prompt_template=f'''SYSTEM: 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
- USER: {prompt}
207
- ASSISTANT:
 
 
 
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:")