初始化项目,由ModelHub XC社区提供模型
Model: ray0rf1re/Nano-Nano_v5.1 Source: Original Platform
This commit is contained in:
6
tokenizer/chat_template.jinja
Normal file
6
tokenizer/chat_template.jinja
Normal file
@@ -0,0 +1,6 @@
|
||||
{%- for message in messages %}<|im_start|>{{ message['role'] }}
|
||||
{%- if message['thinking'] is defined and message['thinking'] %}<think>{{ message['thinking'] }}</think>
|
||||
{%- endif %}{{ message['content'] }}<|im_end|>
|
||||
{%- endfor %}{%- if add_generation_prompt %}<|im_start|>assistant
|
||||
<think>
|
||||
{%- endif %}
|
||||
Reference in New Issue
Block a user