Download public/chat_template.json from payam1394/oioxo-vision-basic: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/payam1394/oioxo-vision-basic/resolve/main/public/chat_template.json
- Command line
-
hf download hf://payam1394/oioxo-vision-basic/public/chat_template.json
-
curl -L -o chat_template.json https://huggingface.co/payam1394/oioxo-vision-basic/resolve/main/public/chat_template.json
429 Bytes
| { | |
| "chat_template": "<|im_start|>{% for message in messages %}{{message['role'] | capitalize}}{% if message['content'][0]['type'] == 'image' %}{{':'}}{% else %}{{': '}}{% endif %}{% for line in message['content'] %}{% if line['type'] == 'text' %}{{line['text']}}{% elif line['type'] == 'image' %}{{ '<image>' }}{% endif %}{% endfor %}<end_of_utterance>\n{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}" | |
| } |