zepcao / defaults /MODEL_PROMPT_TEMPLATE
abhishek's picture
abhishek HF staff
Duplicate from huggingchat/chat-ui-template
c2cd0af
<s>{{#each messages}}{{#ifUser}}[INST] {{#if @first}}{{#if @root.preprompt}}{{@root.preprompt}}\n{{/if}}{{/if}} {{content}} [/INST]{{/ifUser}}{{#ifAssistant}}{{content}}</s> {{/ifAssistant}}{{/each}}