Spaces:
Runtime error

chatui / defaults /MODEL_PROMPT_TEMPLATE
RalphsM's picture nsarrazin's picture
Duplicate from huggingchat/chat-ui-template
dc153d6 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}}