syn6-ilun-jn3q-0-test / defaults /MODEL_PROMPT_TEMPLATE
abhishek's picture
abhishek HF staff
Duplicate from huggingchat/chat-ui-template
32e8888
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}}