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

Model: manucif/latamgpt-1b-dpo-vanilla
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-25 15:41:09 +08:00
commit 237ea2a8af
12 changed files with 4109 additions and 0 deletions

5
chat_template.jinja Normal file
View File

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