Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Duplicated from  tomaarsen/Qwen3-Reranker-0.6B-seq-cls

vllm-project
/
Qwen3-Reranker-0.6B-seq-cls

Text Ranking
sentence-transformers
Safetensors
Transformers
qwen3
text-classification
Model card Files Files and versions
xet
Community

Instructions to use vllm-project/Qwen3-Reranker-0.6B-seq-cls with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use vllm-project/Qwen3-Reranker-0.6B-seq-cls with sentence-transformers:

    from sentence_transformers import CrossEncoder
    
    model = CrossEncoder("vllm-project/Qwen3-Reranker-0.6B-seq-cls")
    
    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)
  • Transformers

    How to use vllm-project/Qwen3-Reranker-0.6B-seq-cls with Transformers:

    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("vllm-project/Qwen3-Reranker-0.6B-seq-cls")
    model = AutoModelForSequenceClassification.from_pretrained("vllm-project/Qwen3-Reranker-0.6B-seq-cls", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Qwen3-Reranker-0.6B-seq-cls
2.4 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
hmellor's picture
hmellor HF Staff
Add provenance note for vLLM CI copy
ff9a3b5 verified about 23 hours ago
  • .gitattributes
    1.57 kB
    Duplicate from tomaarsen/Qwen3-Reranker-0.6B-seq-cls about 24 hours ago
  • README.md
    18.5 kB
    Add provenance note for vLLM CI copy about 23 hours ago
  • config.json
    844 Bytes
    Duplicate from tomaarsen/Qwen3-Reranker-0.6B-seq-cls about 24 hours ago
  • generation_config.json
    214 Bytes
    Duplicate from tomaarsen/Qwen3-Reranker-0.6B-seq-cls about 24 hours ago
  • merges.txt
    1.67 MB
    Duplicate from tomaarsen/Qwen3-Reranker-0.6B-seq-cls about 24 hours ago
  • model.safetensors
    2.38 GB
    xet
    Duplicate from tomaarsen/Qwen3-Reranker-0.6B-seq-cls about 24 hours ago
  • tokenizer.json
    11.4 MB
    xet
    Duplicate from tomaarsen/Qwen3-Reranker-0.6B-seq-cls about 24 hours ago
  • tokenizer_config.json
    5.4 kB
    Duplicate from tomaarsen/Qwen3-Reranker-0.6B-seq-cls about 24 hours ago
  • vocab.json
    2.78 MB
    Duplicate from tomaarsen/Qwen3-Reranker-0.6B-seq-cls about 24 hours ago