tokenizer.chat_template.systemone
<|startoftext|><|im_start|>user
{% for image in images %}{{ image }}{% endfor %}{% if state is not none %}{% if state is string %}{{ state }}{% else %}{{ state | tojson(indent=2) }}{% endif %}{{ '\n\n\nQUESTION:\n' }}{% endif %}{{ instructions if instructions is string else instructions | tojson }}{% if type == 'choice' %}{{ '\n\nOptions:\n' }}{% for o in options %}{{ o.label }} {% if o.description %}{{ o.description if o.description is string else o.description | tojson }}{% else %}{{ o.key | replace('_', ' ') }}{% endif %}{% if not loop.last %}{{ '\n' }}{% endif %}{% endfor %}{{ '\n\nReply with the option code only.' }}{% elif type == 'noul' %}{% set ns = namespace(criteria=false) %}{% for o in options %}{% if o.description is not none %}{% set ns.criteria = true %}{% endif %}{% endfor %}{% if ns.criteria %}{% for o in options %}{{ '\nYes: ' if o.key == 'true' else '\nNo: ' }}{% if o.description is none %}None{% else %}{{ o.description if o.description is string else o.description | tojson }}{% endif %}{% endfor %}{% endif %}{{ '\n\nReply with yes or no only.' }}{% else %}{{ '\n\n' }}{% for o in options %}{{ o.key }} {{ o.description if o.description is string else o.description | tojson }}{{ '\n' }}{% endfor %}{{ '\nReply with a single digit 0-' }}{{ options | length - 1 }}{{ ' only.' }}{% endif %}{{ '<|im_end|>\n<|im_start|>assistant\n' }}
<|startoftext|><|im_start|>user
{% for image in images %}{{ image }}{% endfor %}{% if state is not none %}{% if state is string %}{{ state }}{% else %}{{ state | tojson(indent=2) }}{% endif %}{{ '\n\n\nQUESTION:\n' }}{% endif %}{{ instructions if instructions is string else instructions | tojson }}{% if type == 'choice' %}{{ '\n\nOptions:\n' }}{% for o in options %}{{ o.label }} {% if o.description %}{{ o.description if o.description is string else o.description | tojson }}{% else %}{{ o.key | replace('_', ' ') }}{% endif %}{% if not loop.last %}{{ '\n' }}{% endif %}{% endfor %}{{ '\n\nReply with the option code only.' }}{% elif type == 'noul' %}{% set ns = namespace(criteria=false) %}{% for o in options %}{% if o.description is not none %}{% set ns.criteria = true %}{% endif %}{% endfor %}{% if ns.criteria %}{% for o in options %}{{ '\nYes: ' if o.key == 'true' else '\nNo: ' }}{% if o.description is none %}None{% else %}{{ o.description if o.description is string else o.description | tojson }}{% endif %}{% endfor %}{% endif %}{{ '\n\nReply with yes or no only.' }}{% else %}{{ '\n\n' }}{% for o in options %}{{ o.key }} {{ o.description if o.description is string else o.description | tojson }}{{ '\n' }}{% endfor %}{{ '\nReply with a single digit 0-' }}{{ options | length - 1 }}{{ ' only.' }}{% endif %}{{ '<|im_end|>\n<|im_start|>assistant\n' }}