Upload merged HuggingFaceTB-SmolLM3-3B-Coder fine-tuned on Python coding instructions dataset
bfc49c4 verified Download chat_template.jinja from sweatSmile/HuggingFaceTB-SmolLM3-3B-Coder-Python-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/sweatSmile/HuggingFaceTB-SmolLM3-3B-Coder-Python-Instruct/resolve/main/chat_template.jinja
- Command line
-
hf download hf://sweatSmile/HuggingFaceTB-SmolLM3-3B-Coder-Python-Instruct/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/sweatSmile/HuggingFaceTB-SmolLM3-3B-Coder-Python-Instruct/resolve/main/chat_template.jinja
457 Bytes
| {% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{ bos_token }}{% for message in messages %}{% if message['role'] == 'user' %}{{ 'User: ' + message['content'] + ' | |
| ' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + ' | |
| ' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %} |