NEWVectors or files. Pick a path.Start →
    Models/Reranking/Qwen/Qwen3-Reranker-4B
    HFRerankingApache 2.0

    Qwen3-Reranker-4B

    by Qwen

    Mid-size 4B text reranker with strong multilingual accuracy

    Identifiers
    Model ID
    Qwen/Qwen3-Reranker-4B
    Feature URI
    mixpeek://reranker@v1/qwen3_reranker_4b_v1

    Overview

    Qwen3-Reranker-4B is the mid-size option in the Qwen3 reranker family, offering stronger accuracy than the 0.6B variant while remaining significantly faster than the 8B model. It supports 100+ languages with instruction-following for custom relevance criteria, making it the sweet spot for production deployments that need both quality and throughput.

    Architecture

    Decoder-based cross-encoder built on the Qwen3 4B language model. Instruction-tuned for reranking tasks with support for user-defined relevance criteria via natural language prompts. Processes concatenated query-document pairs through causal attention layers with a relevance classification head.

    Mixpeek SDK Integration

    // Reranking is a retriever STAGE in Mixpeek, not an ingest-time extractor.
    // The rerank stage runs a cross-encoder inference service; the shipped default
    // is BAAI/bge-reranker-v2-m3. Pointing it at Qwen3-Reranker-4B means registering that
    // model as a custom reranker plugin and naming it in feature_uri, which is an
    // Enterprise path. Stage contract read from GET /v1/discovery/stages.
    const retriever = await mx.retrievers.create({
      namespace_id: "my-namespace",
      retriever_name: "search-then-rerank",
      stages: [
        {
          stage_name: "candidates",
          stage_id: "feature_search",
          parameters: { limit: 100 },
        },
        {
          stage_name: "rerank_results",
          stage_id: "rerank",
          parameters: {
            inference_name: "BAAI__bge_reranker_v2_m3",
            query: "{{INPUT.query}}",
            document_field: "content",
            top_k: 10,
          },
        },
      ],
    });

    Capabilities

    • Multilingual text reranking
    • Instruction-guided scoring
    • High-accuracy passage relevance
    • Custom relevance criteria

    Use Cases on Mixpeek

    Production multilingual search reranking
    Enterprise RAG pipeline optimization
    Legal and compliance document retrieval
    Academic literature search refinement

    Benchmarks

    DatasetMetricScoreSource
    BEIR (avg)nDCG@1059.4Model card
    MIRACL (avg)nDCG@1076.8Model card

    Performance

    Input SizeVariable
    GPU Latency~12ms per query-doc pair on A100
    GPU Throughput~85 pairs/sec
    GPU MemoryModel dependent

    Specification

    FrameworkHF
    OrganizationQwen
    FeatureReranking
    OutputRelevance score per candidate
    Modalities
    RetrieverCross-Modal Reranker
    Parameters4B
    LicenseApache 2.0
    Downloads/mo1.16M

    Research Paper

    Model paper or technical report

    arxiv.org

    Build a pipeline with Qwen3-Reranker-4B

    Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

    Run it on your own data, free