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

Model: sma1-rmarud/llama-DPO-Llama-3.1-8B-Instruct-ours
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-23 08:58:10 +08:00
commit 4702d9df86
7 changed files with 113 additions and 0 deletions

5
chat_template.jinja Normal file
View File

@@ -0,0 +1,5 @@
{{ bos_token }}{% for message in messages %}{{ '<|start_header_id|>' + message['role'] + '<|end_header_id|>
' + message['content'] | trim + '<|eot_id|>' }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>
' }}{% endif %}