Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

k8smee
/
zerank-2-reranker-mlx-8Bit

Text Ranking
sentence-transformers
Safetensors
MLX
English
qwen3
finance
legal
code
stem
medical
mlx-my-repo
8-bit precision
Model card Files Files and versions
xet
Community

Instructions to use k8smee/zerank-2-reranker-mlx-8Bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use k8smee/zerank-2-reranker-mlx-8Bit with sentence-transformers:

    from sentence_transformers import CrossEncoder
    
    model = CrossEncoder("k8smee/zerank-2-reranker-mlx-8Bit")
    
    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)
  • MLX

    How to use k8smee/zerank-2-reranker-mlx-8Bit with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir zerank-2-reranker-mlx-8Bit k8smee/zerank-2-reranker-mlx-8Bit
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • Atomic Chat
zerank-2-reranker-mlx-8Bit
4.29 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
k8smee's picture
k8smee
Upload folder using huggingface_hub
15f480f verified 6 days ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 6 days ago
  • README.md
    1.03 kB
    Upload folder using huggingface_hub 6 days ago
  • chat_template.jinja
    4.69 kB
    Upload folder using huggingface_hub 6 days ago
  • config.json
    1.98 kB
    Upload folder using huggingface_hub 6 days ago
  • generation_config.json
    214 Bytes
    Upload folder using huggingface_hub 6 days ago
  • model.safetensors
    4.27 GB
    xet
    Upload folder using huggingface_hub 6 days ago
  • model.safetensors.index.json
    64 kB
    Upload folder using huggingface_hub 6 days ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub 6 days ago
  • tokenizer_config.json
    411 Bytes
    Upload folder using huggingface_hub 6 days ago