Download chat_template.jinja from PygTesting/prototype2_lora: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/PygTesting/prototype2_lora/resolve/main/chat_template.jinja
- Command line
-
hf download hf://PygTesting/prototype2_lora/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/PygTesting/prototype2_lora/resolve/main/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 %} |