Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Qwen
/
Qwen3-VL-Reranker-8B

Text Ranking
Transformers
Safetensors
sentence-transformers
qwen3_vl
image-text-to-text
multimodal rerank
text rerank
Model card Files Files and versions
xet
Community
10

Instructions to use Qwen/Qwen3-VL-Reranker-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Qwen/Qwen3-VL-Reranker-8B with Transformers:

    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("Qwen/Qwen3-VL-Reranker-8B")
    model = AutoModelForImageTextToText.from_pretrained("Qwen/Qwen3-VL-Reranker-8B")
  • sentence-transformers

    How to use Qwen/Qwen3-VL-Reranker-8B with sentence-transformers:

    from sentence_transformers import CrossEncoder
    
    model = CrossEncoder("Qwen/Qwen3-VL-Reranker-8B")
    
    query = "Which planet is known as the Red Planet?"
    passages = [
    	"Venus is often called Earth's twin because of its similar size and proximity.",
    	"Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    	"Jupiter, the largest planet in our solar system, has a prominent red spot.",
    	"Saturn, famous for its rings, is sometimes mistaken for the Red Planet."
    ]
    
    scores = model.predict([(query, passage) for passage in passages])
    print(scores)
  • Notebooks
  • Google Colab
  • Kaggle
Qwen3-VL-Reranker-8B / scripts
10.9 kB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 2 commits
littlebird13's picture
littlebird13
Update README.md (#3)
fb0130d verified 4 months ago
  • qwen3_vl_reranker.py
    10.9 kB
    Update README.md (#3) 4 months ago