Download Models/50/chat_template.jinja from EdgeCompress01/Phi-4-mini-instruct-SparseGPT: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/EdgeCompress01/Phi-4-mini-instruct-SparseGPT/resolve/main/Models/50/chat_template.jinja
- Command line
-
hf download hf://EdgeCompress01/Phi-4-mini-instruct-SparseGPT/Models/50/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/EdgeCompress01/Phi-4-mini-instruct-SparseGPT/resolve/main/Models/50/chat_template.jinja
423 Bytes
| {% for message in messages %}{% if message['role'] == 'system' and 'tools' in message and message['tools'] is not none %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|tool|>' + message['tools'] + '<|/tool|>' + '<|end|>' }}{% else %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|end|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>' }}{% else %}{{ eos_token }}{% endif %} |