elisa-new-2 / defaults /MODEL_PROMPT_TEMPLATE
doctorvivin's picture
Duplicate from huggingchat/chat-ui-template
36cc382 verified
raw
history blame
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}}