You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: llama/generation.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ class ChatPrediction(TypedDict, total=False):
44
44
B_INST, E_INST="[INST]", "[/INST]"
45
45
B_SYS, E_SYS="<<SYS>>\n", "\n<</SYS>>\n\n"
46
46
DEFAULT_SYSTEM_PROMPT="""\
47
-
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.
47
+
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.
48
48
49
49
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."""
0 commit comments