Upload folder using ModelScope SDK

This commit is contained in:
Cherrytest
2025-09-08 18:26:13 +00:00
parent 12c72a10fb
commit 5e69d591a6
18 changed files with 3131 additions and 42 deletions

7
chat_template.jinja Normal file
View 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 %}