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

Model: standrey/listing-parser-llama31-8b-ft-v1-full
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-23 22:14:18 +08:00
commit dacb2c00a6
12 changed files with 2509 additions and 0 deletions

12
chat_template.jinja Normal file
View File

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