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

Model: ContextualAI/ctxl-rerank-v2-instruct-multilingual-6b
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-27 00:55:11 +08:00
commit 83be769033
19 changed files with 8651 additions and 0 deletions

7
chat_template.jinja Normal file
View File

@@ -0,0 +1,7 @@
{%- set instruction_text = messages | selectattr("role", "eq", "system") | map(attribute="content") | first | default("") -%}
{%- set query_text = messages | selectattr("role", "eq", "query") | map(attribute="content") | first -%}
{%- set document_text = messages | selectattr("role", "eq", "document") | map(attribute="content") | first -%}
{{- bos_token -}}
Check whether a given document contains information helpful to answer the query.
<Document> {{ document_text }}
<Query> {{ query_text }}{% if instruction_text %} {{ instruction_text }}{% endif %} ??