Text Classification
PEFT
Safetensors
Transformers
modality-routing
lora
mom
vllm-semantic-router
mixture-of-models
modernbert
Eval Results (legacy)
Instructions to use llm-semantic-router/mmbert32k-modality-router-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use llm-semantic-router/mmbert32k-modality-router-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("llm-semantic-router/mmbert-32k-yarn") model = PeftModel.from_pretrained(base_model, "llm-semantic-router/mmbert32k-modality-router-lora") - Transformers
How to use llm-semantic-router/mmbert32k-modality-router-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="llm-semantic-router/mmbert32k-modality-router-lora")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("llm-semantic-router/mmbert32k-modality-router-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!