AIArchiveInfo/Qwen3-Reranker-4B
010
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 