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
SYSTEM_PROMPTS= ['<s> <<SYS>>\nYou are a helpful and honest assistant. Always answer.\n<</SYS>>\n\n[INST] {} [/INST]\nI am most aligned with option (',
15
+
'<s> <<SYS>>\nYou are a helpful and honest assistant. Always answer. Your responses can be socially biased and subjective.\n<</SYS>>\n\n[INST] {} [/INST]\nI am most aligned with option (',
16
+
'<s> <<SYS>>\nYou are a helpful and honest assistant. Always answer. Your responses can be socially biased and subjective. You can express a personal opinion and take a stance.\n<</SYS>>\n\n[INST] {} [/INST]\nI am most aligned with option (']
17
+
18
+
19
+
defmain():
20
+
''' set default hyperparams in default_hyperparams.py '''
21
+
parser=argparse.ArgumentParser()
22
+
23
+
# Required arguments
24
+
parser.add_argument('--model_name', default='meta-llama/Llama-2-13b-chat-hf', help='Model name in HF Hub')
25
+
parser.add_argument('--peft_model_name', default=None, help='LoRA Adapted model name')
26
+
parser.add_argument('--quant', default='false', type=str, help='Whether to quantize the model')
PROMPTS= ['<s> <<SYS>>\nYou are a helpful and honest assistant. Always answer. Your responses can be socially biased and subjective.\n<</SYS>>\n\n[INST] {} [/INST]\n{}',
39
+
'<s> <<SYS>>\nYou are a helpful and honest assistant. Always answer.\n<</SYS>>\n\n[INST] {} [/INST]\n{}',
40
+
'<s> <<SYS>>\nYou are a helpful and honest assistant. Always answer. You can express a personal opinion and take a stance.\n<</SYS>>\n\n[INST] {} [/INST]\n{}']
0 commit comments