初始化项目,由ModelHub XC社区提供模型

Model: Henry236/east8b-eg-lora-heuristic
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-22 08:49:17 +08:00
commit 4e00a082d0
191 changed files with 14013 additions and 0 deletions

7
chat_template.jinja Normal file
View File

@@ -0,0 +1,7 @@
{% set system_message = 'You are a helpful assistant.' %}{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ '<|begin_of_text|>' + '<|start_header_id|>system<|end_header_id|>
' + system_message + '<|eot_id|>' }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|start_header_id|>user<|end_header_id|>
' + content + '<|eot_id|><|start_header_id|>assistant<|end_header_id|>
' }}{% elif message['role'] == 'assistant' %}{{ content + '<|eot_id|>' }}{% endif %}{% endfor %}