eval3_phase2_TOY / chat_template.jinja
nkim7's picture
Phase 2 scene-position LoRA (LEFT/CENTER/RIGHT card recognition) — 99.44% benchmark (179/180)
1fa04ae verified
raw
history blame contribute delete
403 Bytes
<|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>
{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}