Download ensemble_student_6/checkpoint-5400/chat_template.jinja from MultimodalAgent/PlanPhys-Model-Pre-Training-Ensemble: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/MultimodalAgent/PlanPhys-Model-Pre-Training-Ensemble/resolve/main/ensemble_student_6/checkpoint-5400/chat_template.jinja
- Command line
-
hf download hf://MultimodalAgent/PlanPhys-Model-Pre-Training-Ensemble/ensemble_student_6/checkpoint-5400/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/MultimodalAgent/PlanPhys-Model-Pre-Training-Ensemble/resolve/main/ensemble_student_6/checkpoint-5400/chat_template.jinja
466 Bytes
| {{ '[BOS]' }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content + '[EOS]' }}{% endif %}{% endfor %} |