Download chat_template.jinja from Akdenizz/token-bunner: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/Akdenizz/token-bunner/resolve/main/chat_template.jinja
- Command line
-
hf download hf://Akdenizz/token-bunner/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/Akdenizz/token-bunner/resolve/main/chat_template.jinja
321 Bytes
| {% for message in messages %}{% if message['role'] == 'system' %}{{'' + message['content']}}{% endif %}{% if message['role'] == 'user' %}{{'' + message['content']}}{% endif %}{% if message['role'] == 'assistant' %}{{'' + message['content'] + '<eos>'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{''}}{% endif %} |