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

Model: ContextualAI/ctxl-rerank-v2-instruct-multilingual-1b
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-29 03:42:18 +08:00
commit 05bd965bcf
18 changed files with 154521 additions and 0 deletions

6
chat_template.jinja Normal file
View File

@@ -0,0 +1,6 @@
{%- 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 -%}
Check whether a given document contains information helpful to answer the query.
<Document> {{ document_text }}
<Query> {{ query_text }}{% if instruction_text %} {{ instruction_text }}{% endif %} ??