anto0699's picture
Initial commit: LoRA adapters + tokenizer + template
e16aa6d
raw
history blame contribute delete
225 Bytes
{{ bos_token }}{% for m in messages %}{% if m['role'] == 'user' %}[INST] {{ m['content'] }} [/INST]{% elif m['role'] == 'assistant' %}{% generation %}{{ m['content'] }}{% endgeneration %}{{ eos_token }}{% endif %}{% endfor %}