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

vllm-sr
/
mmbert32k-modality-router-lora

Text Classification
PEFT
Safetensors
Transformers
modality-routing
lora
mom
vllm-semantic-router
mixture-of-models
modernbert
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use vllm-sr/mmbert32k-modality-router-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use vllm-sr/mmbert32k-modality-router-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("vllm-sr/mmbert-32k-yarn")
    model = PeftModel.from_pretrained(base_model, "vllm-sr/mmbert32k-modality-router-lora")
  • Transformers

    How to use vllm-sr/mmbert32k-modality-router-lora with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="vllm-sr/mmbert32k-modality-router-lora")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("vllm-sr/mmbert32k-modality-router-lora", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mmbert32k-modality-router-lora
48 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 22 commits
Xunzhuo's picture
Xunzhuo
Update Hugging Face org references: llm-semantic-router → vllm-sr
279c932 verified 5 days ago
  • .gitattributes
    1.57 kB
    Upload tokenizer.json with huggingface_hub 8 months ago
  • README.md
    8.19 kB
    Update Hugging Face org references: llm-semantic-router → vllm-sr 5 days ago
  • adapter_config.json
    1.04 kB
    Update Hugging Face org references: llm-semantic-router → vllm-sr 5 days ago
  • adapter_model.safetensors
    13.5 MB
    xet
    Upload adapter_model.safetensors with huggingface_hub 8 months ago
  • eval_results.json
    610 Bytes
    Upload eval_results.json with huggingface_hub 8 months ago
  • label_mapping.json
    152 Bytes
    Upload label_mapping.json with huggingface_hub 8 months ago
  • lora_config.json
    135 Bytes
    Upload lora_config.json with huggingface_hub 8 months ago
  • modality_mapping.json
    152 Bytes
    Upload modality_mapping.json with huggingface_hub 8 months ago
  • special_tokens_map.json
    1.05 kB
    Upload special_tokens_map.json with huggingface_hub 8 months ago
  • tokenizer.json
    34.4 MB
    xet
    Upload tokenizer.json with huggingface_hub 8 months ago
  • tokenizer_config.json
    46.5 kB
    Upload tokenizer_config.json with huggingface_hub 8 months ago