初始化项目,由ModelHub XC社区提供模型
Model: shantanu61000/sfr-copernicus-v1 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 not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|start_header_id|>' + message['role'] + '<|end_header_id|>' + '
|
||||
' + message['content'] + '<|eot_id|>' + '
|
||||
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
|
||||
' }}{% endif %}
|
||||
Reference in New Issue
Block a user