A multilingual intent classification model based on
mmBERT
(Multilingual ModernBERT) with LoRA adapters for efficient inference.
Model Description
This model classifies text into 14 MMLU-Pro academic categories using a LoRA-enhanced mmBERT backbone. It supports
1800+ languages
through mmBERT's multilingual pretraining.
from peft import PeftModel
from transformers import AutoModelForSequenceClassification, AutoTokenizer
# Load base model and LoRA adapter
base_model = AutoModelForSequenceClassification.from_pretrained(
"jhu-clsp/mmBERT-base",
num_labels=14
)
model = PeftModel.from_pretrained(base_model, "llm-semantic-router/mmbert-intent-classifier-lora")
tokenizer = AutoTokenizer.from_pretrained("jhu-clsp/mmBERT-base")
# Classify
text = "What are the legal requirements for forming a corporation?"
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=512)
outputs = model(**inputs)
predicted_class = outputs.logits.argmax(-1).item()
Multilingual Support
This model supports cross-lingual transfer:
Fine-tuned on English MMLU-Pro data
Can classify queries in 1800+ languages
Best performance on English, good transfer to Chinese, Spanish, French, German, etc.
Part of vLLM Semantic Router
This model is part of the
vLLM Semantic Router
project - a Mixture-of-Models (MoM) router that understands request intent.
Citation
@misc{mmbert-intent-classifier,
author = {vLLM Semantic Router Team},
title = {mmBERT Intent Classifier with LoRA},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/llm-semantic-router/mmbert-intent-classifier-lora}
}
License
Apache 2.0
Runs of llm-semantic-router mmbert-intent-classifier-lora on huggingface.co
4
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-2
30-day runs
More Information About mmbert-intent-classifier-lora huggingface.co Model
More mmbert-intent-classifier-lora license Visit here:
mmbert-intent-classifier-lora huggingface.co is an AI model on huggingface.co that provides mmbert-intent-classifier-lora's model effect (), which can be used instantly with this llm-semantic-router mmbert-intent-classifier-lora model. huggingface.co supports a free trial of the mmbert-intent-classifier-lora model, and also provides paid use of the mmbert-intent-classifier-lora. Support call mmbert-intent-classifier-lora model through api, including Node.js, Python, http.
mmbert-intent-classifier-lora huggingface.co is an online trial and call api platform, which integrates mmbert-intent-classifier-lora's modeling effects, including api services, and provides a free online trial of mmbert-intent-classifier-lora, you can try mmbert-intent-classifier-lora online for free by clicking the link below.
llm-semantic-router mmbert-intent-classifier-lora online free url in huggingface.co:
mmbert-intent-classifier-lora is an open source model from GitHub that offers a free installation service, and any user can find mmbert-intent-classifier-lora on GitHub to install. At the same time, huggingface.co provides the effect of mmbert-intent-classifier-lora install, users can directly use mmbert-intent-classifier-lora installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mmbert-intent-classifier-lora install url in huggingface.co: