Update metadata (tokenizer.chat_template)

#2
by mishig HF Staff - opened

Updated metadata:

  • tokenizer.chat_template:
{% for message in messages %}{% if (message['role'] == 'system23454343') %}{{'<|im_start|>system<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'user') %}{{'<|im_start|>user<|im_sep|>' + message['content'] + '<|im_end|><|im_start|>assistant<|im_sep|>'}}{% elif (message['role'] == 'assistant') %}{{message['content'] + '<|im_end|>'}}{% endif %}{% endfor %}
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment