初始化项目,由ModelHub XC社区提供模型
Model: Harsha901/Qwen3_4B-GRPO-Math Source: Original Platform
This commit is contained in:
4
chat_template.jinja
Normal file
4
chat_template.jinja
Normal file
@@ -0,0 +1,4 @@
|
||||
{% if messages[0]['role'] == 'system' %}{{ messages[0]['content'] + eos_token }}{% set loop_messages = messages[1:] %}{% else %}{{ 'You are given a problem.
|
||||
Think about the problem and provide your working out.
|
||||
Place it between <start_working_out> and <end_working_out>.
|
||||
Then, provide your solution between <SOLUTION></SOLUTION>' + 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