Download chat_template.jinja from Gryphe/Codex-24B-Small-3.2: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/Gryphe/Codex-24B-Small-3.2/resolve/refs%2Fpr%2F4/chat_template.jinja
- Command line
-
hf download hf://Gryphe/Codex-24B-Small-3.2@refs/pr/4/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/Gryphe/Codex-24B-Small-3.2/resolve/refs%2Fpr%2F4/chat_template.jinja
291 Bytes
| {% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + ' | |
| ' + message['content'] + '<|im_end|>' + ' | |
| '}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant | |
| ' }}{% endif %} |