Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
tjtanaa
/
chat-template-generation
like
0
Runtime error
App
Files
Files
Community
7a664fd
chat-template-generation
/
templates
/
chat-ml.jinja2
tjtanaa
init streamlit chat-template ui
7a664fd
9 months ago
raw
Copy download link
history
blame
No virus
129 Bytes
{%
for
message
in
messages
%}
{{
'<|im_start|>'
+ message[
'role'
] +
'\n'
+ message[
'content'
] +
'<|im_end|>'
+
'\n'
}}
{%
endfor
%}