j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
{{bos_token}}{% for message in messages %}{{'
' + message['role'] + '
' + message['content'] + '
' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '
assistant
' }}{% endif %}
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}
system
{% if messages[0]['role'] == 'system' %}{{ messages[0]['content'] }}{% endif %}

{% for message in messages %}{% if message['role'] != 'system' %}
{{ message['role'] }}
{{ message['content'] }}

{% endif %}{% endfor %}{% if add_generation_prompt %}
assistant
{% endif %}
{{ '
' }}{% for message in messages %}{% if message['role'] == 'user' %}{{'User: ' + message['content'] + '

'}}{% elif message['role'] == 'system' %}{{'System: ' + message['content'] + '

'}}{% elif message['role'] == 'assistant' %}{{'Assistant: ' + message['content'] + '

'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{% if enable_thinking is defined and enable_thinking == False %}{{ 'Assistant: <think>
</think>' }}{% else %}{{ 'Assistant: <think' }}{% endif %}{% endif %}