ChinaReranking100+ languages32K context

Explore Qwen3-Reranker-8B

Reorder retrieved passages, product results, code, or multilingual documents by their relevance to a query. Qwen3-Reranker-8B is developed by Alibaba. Adjust the available settings to shape the result for your task.

Model

Qwen/Qwen3-Reranker-8B

Input

Configure your request

Exact CrossEncoder.predict input: a JSON array of query-document pairs.

Documentation

Qwen3-Reranker-8B field reference

Use this reference to understand how every field in the playground changes the request sent to Qwen/Qwen3-Reranker-8B.

Sentence pairs (JSON)

Required

Type: JSON array

Supplies pairs in the form [query, candidate document]. The reranker produces one relevance score per pair, which you can use to reorder candidates retrieved by an earlier search step.

Batch size

Optional

Type: Integer

Default: 8

Range: 1–Unbounded

Controls how many items are evaluated in parallel during one forward pass. Larger batches can improve throughput but use more memory; reduce the value if processing runs out of device memory.

Show progress bar

Optional

Type: Boolean

Default: Off

Shows a progress indicator as reranking batches complete. It does not affect scores or speed and is mainly useful for large interactive jobs; disable it for logs, APIs, and other non-interactive environments.

Apply softmax

Optional

Type: Boolean

Default: Off

Applies softmax to each reranker’s raw output scores so class probabilities sum to one. This improves interpretability but does not make scores directly comparable across unrelated queries, and it can discard useful raw-score spacing.

Convert to NumPy

Optional

Type: Boolean

Default: On

Converts reranking results into a NumPy array for sorting, indexing, or use with scientific Python tools. Disable it if you need a plain list or enable tensor conversion for framework-native processing.

Convert to tensor

Optional

Type: Boolean

Default: Off

Keeps reranking results as a model-framework tensor, which is useful for GPU operations or further neural-network computation. It generally takes precedence over NumPy conversion and is unnecessary for simple sorting or display.