初始化项目,由ModelHub XC社区提供模型
Model: GitMarco27/zagreus-0.4b-italic-kl Source: Original Platform
This commit is contained in:
5
chat_template.jinja
Normal file
5
chat_template.jinja
Normal file
@@ -0,0 +1,5 @@
|
||||
{{- bos_token }}{%- for message in messages %}{{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>
|
||||
|
||||
' }}{%- if message['role'] == 'assistant' %}{% generation %}{{- message['content'] }}{{- '<|eot_id|>' }}{% endgeneration %}{%- else %}{{- message['content'] }}{{- '<|eot_id|>' }}{%- endif %}{%- endfor %}{%- if add_generation_prompt %}{{- '<|start_header_id|>assistant<|end_header_id|>
|
||||
|
||||
' }}{%- endif %}
|
||||
Reference in New Issue
Block a user