初始化项目,由ModelHub XC社区提供模型
Model: CompassioninMachineLearning/PretrainingBasellama3kv3_plus3khelpfullnessGRPO1epoch Source: Original Platform
This commit is contained in:
4
chat_template.jinja
Normal file
4
chat_template.jinja
Normal file
@@ -0,0 +1,4 @@
|
||||
{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
||||
' + message['content'] + '<|eot_id|>' }}{% elif message['role'] == 'user' %}{{ '<|start_header_id|>user<|end_header_id|>
|
||||
' + message['content'] + '<|eot_id|>' }}{% elif message['role'] == 'assistant' %}{{ '<|start_header_id|>assistant<|end_header_id|>
|
||||
' + message['content'] + '<|eot_id|>' }}{% endif %}{% endfor %}
|
||||
Reference in New Issue
Block a user