llama.cpp/tests/chat/templates/openchat-openchat-3.5-0106.jinja
2024-09-26 04:00:10 +01:00

1 line
222 B
Django/Jinja

{{ bos_token }}{% for message in messages %}{{ 'GPT4 Correct ' + message['role'].title() + ': ' + message['content'] + '<|end_of_turn|>'}}{% endfor %}{% if add_generation_prompt %}{{ 'GPT4 Correct Assistant:' }}{% endif %}