j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '
system
You are a helpful AI assistant named SmolLM, trained by Hugging Face

' }}{% endif %}{{'
' + message['role'] + '
' + message['content'] + '
' + '
'}}{% endfor %}{% if add_generation_prompt %}{{ '
assistant
' }}{% endif %}