astrollama-7b-chat-alpha / defaults /MODEL_PROMPT_TEMPLATE
nsarrazin's picture
nsarrazin HF staff
add MODEL_PROMPT_TEMPLATE to params
42b97a1
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}}