Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
EmbeddedLLM
/
chat-template-generation
like
12
Runtime error
App
Files
Files
Community
1
a7bc634
chat-template-generation
/
templates
/
chat-ml.jinja2
tjtanaa
init repository
4d82421
about 1 year ago
raw
Copy download link
history
blame
Safe
129 Bytes
{%
for
message
in
messages
%}
{{
'<|im_start|>'
+ message[
'role'
] +
'\n'
+ message[
'content'
] +
'<|im_end|>'
+
'\n'
}}
{%
endfor
%}