Download chat_template.jinja from hf-tiny-v2/tiny-random-BitNetForCausalLM: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/hf-tiny-v2/tiny-random-BitNetForCausalLM/resolve/main/chat_template.jinja
- Command line
-
hf download hf://hf-tiny-v2/tiny-random-BitNetForCausalLM/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/hf-tiny-v2/tiny-random-BitNetForCausalLM/resolve/main/chat_template.jinja
250 Bytes
| {% set loop_messages = messages %}{% for message in loop_messages %}{% set content = message['role'] | capitalize + ': '+ message['content'] | trim + '<|eot_id|>' %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant: ' }}{% endif %} |