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

Model: QuixiAI/Ina-v11.1-AWQ
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-06 13:38:44 +08:00
commit 03cc2676c5
19 changed files with 4341 additions and 0 deletions

39
chat_template.jinja Normal file
View File

@@ -0,0 +1,39 @@
{# ============================================================
Ina-v11.1 Chat Template (Llama-3.1 header style)
============================================================ #}
{{- '<|begin_of_text|>' }}
{%- for message in messages %}
{%- if message['role'] == 'system' %}
{{- '<|start_header_id|>system<|end_header_id|>' + '\n' }}
{{- message['content'] }}
{{- '<|eot_id|>' }}
{%- elif message['role'] == 'user' %}
{{- '<|start_header_id|>user<|end_header_id|>' + '\n' }}
{{- message['content'] }}
{{- '<|eot_id|>' }}
{%- elif message['role'] == 'assistant' %}
{{- '<|start_header_id|>assistant<|end_header_id|>' + '\n' }}
{{- message['content'] }}
{{- '<|eot_id|>' }}
{%- elif message['role'] == 'tool' %}
{# Optional: format tool responses if you ever add tools #}
{{- '<|start_header_id|>tool<|end_header_id|>' + '\n' }}
{{- message['content'] }}
{{- '<|eot_id|>' }}
{%- endif %}
{%- endfor %}
{# ============================================================
Optional: add generation header if user requests it
============================================================ #}
{%- if add_generation_prompt %}
{{- '<|start_header_id|>assistant<|end_header_id|>' + '\n' }}
{%- endif %}