clayp commited on
Commit
546dc72
1 Parent(s): a740fe5

Further update with slight improvements to the prompt template, also removed the system message

Browse files

This should be a slight further improvement over the current version

I think that there shouldn't be a </s> at the end of a single prompt, but I'm not certain

Files changed (1) hide show
  1. README.md +8 -7
README.md CHANGED
@@ -65,20 +65,21 @@ pip3 install git+https://github.com/huggingface/transformers
65
  ## Prompt template: Llama-2-Chat
66
 
67
  ```
68
- [INST] <<SYS>>
69
- 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.
70
  <</SYS>>
71
- {prompt}[/INST]
 
72
  ```
73
 
74
  To continue a conversation:
75
 
76
  ```
77
- [INST] <<SYS>>
78
- 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.
79
  <</SYS>>
80
- {prompt}[/INST]{model_reply}
81
- [INST]{prompt}[/INST]
82
  ```
83
 
84
  ## Provided files
 
65
  ## Prompt template: Llama-2-Chat
66
 
67
  ```
68
+ <s>[INST] <<SYS>>
69
+ {your_system_message}
70
  <</SYS>>
71
+
72
+ {user_message_1} [/INST]
73
  ```
74
 
75
  To continue a conversation:
76
 
77
  ```
78
+ <s>[INST] <<SYS>>
79
+ {your_system_message}
80
  <</SYS>>
81
+
82
+ {user_message_1} [/INST] {model_reply_1}</s><s>[INST] {user_message_2} [/INST]
83
  ```
84
 
85
  ## Provided files