TheBloke commited on
Commit
6796073
1 Parent(s): 56774c2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -140,10 +140,12 @@ model = AutoGPTQForCausalLM.from_quantized(model_name_or_path,
140
  """
141
 
142
  prompt = "Tell me about AI"
 
143
  prompt_template=f'''[INST] <<SYS>>
144
- 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.
145
  <</SYS>>
146
- {prompt}[/INST]'''
 
147
 
148
  print("\n\n*** Generate:")
149
 
 
140
  """
141
 
142
  prompt = "Tell me about AI"
143
+ 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."
144
  prompt_template=f'''[INST] <<SYS>>
145
+ {system_message}
146
  <</SYS>>
147
+
148
+ {prompt} [/INST]'''
149
 
150
  print("\n\n*** Generate:")
151