mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-13 12:10:18 +00:00
4 lines
196 B
Django/Jinja
4 lines
196 B
Django/Jinja
{% for message in messages %}{{'<|im_start|>' + message['role'] + '
|
|
' + message['content'] + '<|im_end|>' + '
|
|
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
|
' }}{% endif %} |