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

zenlm
/
zen-router

Text Classification
Transformers
English
Chinese
zen
zen-lm
routing
edge
lightweight
Model card Files Files and versions
xet
Community

Instructions to use zenlm/zen-router with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use zenlm/zen-router with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="zenlm/zen-router")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("zenlm/zen-router", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
zen-router / export
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
antjeworring's picture
antjeworring
Quantized deployment: heads safetensors + llama.cpp embedding recipe (parity 95% route @ Q4_K_M)
61e77cc verified 6 days ago
  • QUANTIZED.md
    5.01 kB
    Quantized deployment: heads safetensors + llama.cpp embedding recipe (parity 95% route @ Q4_K_M) 6 days ago
  • export_heads.py
    2.8 kB
    Quantized deployment: heads safetensors + llama.cpp embedding recipe (parity 95% route @ Q4_K_M) 6 days ago
  • heads.safetensors
    1.2 MB
    xet
    Quantized deployment: heads safetensors + llama.cpp embedding recipe (parity 95% route @ Q4_K_M) 6 days ago
  • route_gguf.py
    5.85 kB
    Quantized deployment: heads safetensors + llama.cpp embedding recipe (parity 95% route @ Q4_K_M) 6 days ago
  • router_config.json
    857 Bytes
    Quantized deployment: heads safetensors + llama.cpp embedding recipe (parity 95% route @ Q4_K_M) 6 days ago
  • verify_parity.py
    3.63 kB
    Quantized deployment: heads safetensors + llama.cpp embedding recipe (parity 95% route @ Q4_K_M) 6 days ago