Xianjun-PLLaMa-7b-base-3 / defaults /MODEL_PROMPT_TEMPLATE
KangJian2024's picture
Duplicate from huggingchat/chat-ui-template
c605671 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}}