mistralai-Mistral-7B-v0.1 / defaults /MODEL_PROMPT_TEMPLATE
mohammed-17's picture
Duplicate from huggingchat/chat-ui-template
36b5f5b 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}}