Open binhmed2lab opened 1 year ago
{ "description": "Template used by Llama-2-chat.", "prompt_input": "[INST] <>\n{instruction}\n<>\n\n{input} [/INST]", "prompt_no_input": "[INST] <>\n{instruction}\n<>\n\n[/INST]", "response_split": "[/INST]" }
Code from https://github.com/facebookresearch/llama/blob/main/llama/generation.py#L283
Is it should be in this format? According to the https://huggingface.co/blog/llama2?source=post_page-----6cbb2c2ec4fd--------------------------------#how-to-prompt-llama-2
{ "description": "Template used by Llama-2-chat.", "prompt_input": "[INST] <>\n{instruction}\n< >\n\n{input} [/INST]",
"prompt_no_input": "[INST] <>\n{instruction}\n< >\n\n[/INST]",
"response_split": "[/INST]"
}
Code from https://github.com/facebookresearch/llama/blob/main/llama/generation.py#L283