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

scombat
/
s1d1-router

Text Classification
Transformers
Safetensors
multilingual
modernbert
routing
llm-routing
prompt-classification
complexity-estimation
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use scombat/s1d1-router with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="scombat/s1d1-router")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("scombat/s1d1-router")
    model = AutoModelForSequenceClassification.from_pretrained("scombat/s1d1-router", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
s1d1-router / integrations
46.7 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
scombat's picture
scombat
LiteLLM Auto Router classifier server (serve_litellm.py), launchers, tutorial update
4ff8679 verified 2 days ago
  • litellm
    LiteLLM Auto Router classifier server (serve_litellm.py), launchers, tutorial update 2 days ago
  • backend_env.sh
    2 kB
    LiteLLM Auto Router classifier server (serve_litellm.py), launchers, tutorial update 2 days ago
  • policy.example.yaml
    3.29 kB
    Loader from the Hub (tokenizer config, vocab map, MLX/ONNX), four tiers, train.py, judge/, card fixes (docs/16) 5 days ago
  • policy.py
    4.15 kB
    Integrations: policy, server, LiteLLM, tutorials (untested parts labelled) 6 days ago
  • review_log.py
    2 kB
    serve.py decision log, review_log.py 6 days ago
  • routed.py
    2.01 kB
    Integrations: policy, server, LiteLLM, tutorials (untested parts labelled) 6 days ago
  • serve.py
    4.39 kB
    serve.py decision log, review_log.py 6 days ago
  • serve_variant.sh
    682 Bytes
    LiteLLM Auto Router classifier server (serve_litellm.py), launchers, tutorial update 2 days ago
  • test_policy.py
    2.33 kB
    Loader from the Hub (tokenizer config, vocab map, MLX/ONNX), four tiers, train.py, judge/, card fixes (docs/16) 5 days ago