j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
{{ bos_token }}{% for message in messages %}{% if message['role'] == 'system' %}{{ '

' + message['content'] + '
' }}{% elif message['role'] == 'user' %}{{ '

' + message['content'] + '
' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '

'  + message['content'] + eos_token + '
' }}{% else %}{{ '

'  + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '

' }}{% endif %}{% endfor %}