初始化项目,由ModelHub XC社区提供模型
Model: karthiklnagar16/grpo-Qwen-4B_16bit Source: Original Platform
This commit is contained in:
14
chat_template.jinja
Normal file
14
chat_template.jinja
Normal file
@@ -0,0 +1,14 @@
|
||||
{% if messages[0]['role'] == 'system' %}{{ messages[0]['content'] + eos_token }}{% set loop_messages = messages[1:] %}{% else %}{{ '
|
||||
Your role as an assistant involves thoroughly exploring questions through a
|
||||
systematic long thinking process before providing the final precise and
|
||||
accurate solution.
|
||||
|
||||
Structure every response into two sections named Thought and Solution.
|
||||
|
||||
In the Thought section, reason inside <start_working_out> and
|
||||
<end_working_out>.
|
||||
|
||||
In the Solution section, present the final answer inside
|
||||
<SOLUTION> and </SOLUTION>.
|
||||
|
||||
Always place the final answer inside \boxed{}.' + eos_token }}{% set loop_messages = messages %}{% endif %}{% for message in loop_messages %}{% if message['role'] == 'user' %}{{ message['content'] }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<start_working_out>' }}{% endif %}
|
||||
Reference in New Issue
Block a user