Downloads · 30 days
52
3% of all-time downloads
vllm-sr/mmbert-pii-detector-merged
mmbert-pii-detector-merged is a token classification model from vllm-sr. Use it when you need labels on individual words, such as names. The card lists the license as apache-2.0.
This is a merged mmBERT model for PII (Personally Identifiable Information) detection, optimized for Rust inference using the candle framework.
Downloads · 30 days
52
3% of all-time downloads
All-time downloads
1.9K
Public
Parameters
308M
1.3 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors1.2 GB · 97%
From the Hugging Face model README
This is a merged mmBERT model for PII (Personally Identifiable Information) detection, optimized for Rust inference using the candle framework.
use candle_semantic_router::model_architectures::traditional::TraditionalModernBertTokenClassifier;
let classifier = TraditionalModernBertTokenClassifier::new("path/to/model", true)?;
let results = classifier.classify_tokens("Contact [email protected] or call 555-1234")?;
for (token, label, confidence) in results {
if label != "O" {
println!("PII: {} -> {} ({:.1}%)", token, label, confidence * 100.0);
}
}
Apache 2.0