notux-chat-ui / defaults /MODEL_PROMPT_TEMPLATE
gabrielmbmb's picture
gabrielmbmb HF staff
Duplicate from huggingchat/chat-ui-template
7800902
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}}