Upload folder using ModelScope SDK
This commit is contained in:
7
chat_template.jinja
Normal file
7
chat_template.jinja
Normal file
@@ -0,0 +1,7 @@
|
||||
{% for message in messages %}{{'<|im_start|>' + message['role'] + '
|
||||
' + message['content'] + '<|im_end|>' + '
|
||||
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
||||
' }}{% if enable_thinking is defined and enable_thinking is false %}{{ '<think>
|
||||
|
||||
</think>
|
||||
' }}{% endif %}{% endif %}
|
||||
Reference in New Issue
Block a user