CoolFace
Modelpublic

AIArchiveInfo/Qwen3-Reranker-4B

sourceHugging Faceapache-2.0updated 1d agoView on Hugging Face
0likes10downloads
chat_template.jinja16 linesDownload Raw Back to root
1{%- set instruction = messages | selectattr("role", "eq", "system") | map(attribute="content") | first | default("Given a web search query, retrieve relevant passages that answer the query") -%}2{%- set query_text = messages | selectattr("role", "eq", "query") | map(attribute="content") | first -%}3{%- set document_text = messages | selectattr("role", "eq", "document") | map(attribute="content") | first -%}4<|im_start|>system5Judge whether the Document meets the requirements based on the Query and the Instruct provided. Note that the answer can only be "yes" or "no".<|im_end|>6<|im_start|>user7<Instruct>: {{ instruction }}8<Query>: {{ query_text }}9<Document>: {{ document_text }}<|im_end|>10<|im_start|>assistant11<think>12 13</think>14 15 16