Download chat_template.jinja from Matt300209/3bit_dequant_complete: direct link, hf CLI and curl.
- Browser
- Download file 636 Bytes
-
https://huggingface.co/Matt300209/3bit_dequant_complete/resolve/main/chat_template.jinja
- Command line
-
hf download hf://Matt300209/3bit_dequant_complete/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/Matt300209/3bit_dequant_complete/resolve/main/chat_template.jinja
636 Bytes
| {{- bos_token }} | |
| {%- for message in messages %} | |
| {%- if message['role'] == 'assistant' %} | |
| {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>' + ' | |
| ' }} | |
| {%- generation %} | |
| {{- message['content'] + '<|eot_id|>' }} | |
| {%- endgeneration %} | |
| {{- ' | |
| ' }} | |
| {%- else %} | |
| {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>' + ' | |
| ' + message['content'] + '<|eot_id|>' + ' | |
| ' }} | |
| {%- endif %} | |
| {%- endfor %} | |
| {%- if add_generation_prompt %} | |
| {{- '<|start_header_id|>assistant<|end_header_id|> | |
| ' }} | |
| {%- endif %} |