meta-llama-Meta-Llama-3-8B / defaults /MODEL_PROMPT_TEMPLATE
Cafet's picture
Duplicate from huggingchat/chat-ui-template
978525a verified
raw
history blame contribute delete
199 Bytes
<s>{{#each messages}}{{#ifUser}}[INST] {{#if @first}}{{#if @root.preprompt}}{{@root.preprompt}}\n{{/if}}{{/if}} {{content}} [/INST]{{/ifUser}}{{#ifAssistant}}{{content}}</s> {{/ifAssistant}}{{/each}}