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

llm-semantic-router
/
mmbert32k-pii-detector-lora

Token Classification
PEFT
Safetensors
English
modernbert
pii-detection
lora
mmbert
32k-context
Model card Files Files and versions
xet
Community

Instructions to use llm-semantic-router/mmbert32k-pii-detector-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use llm-semantic-router/mmbert32k-pii-detector-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForTokenClassification
    
    base_model = AutoModelForTokenClassification.from_pretrained("llm-semantic-router/mmbert-32k-yarn")
    model = PeftModel.from_pretrained(base_model, "llm-semantic-router/mmbert32k-pii-detector-lora")
  • Notebooks
  • Google Colab
  • Kaggle
mmbert32k-pii-detector-lora
61.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 22 commits
HuaminChen's picture
HuaminChen
Update README with accurate model details
58ecd71 verified 7 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 7 months ago
  • README.md
    2.08 kB
    Update README with accurate model details 7 months ago
  • adapter_config.json
    1.05 kB
    Upload folder using huggingface_hub 7 months ago
  • adapter_model.safetensors
    27.2 MB
    xet
    Upload folder using huggingface_hub 7 months ago
  • label_mapping.json
    1.69 kB
    Upload folder using huggingface_hub 7 months ago
  • lora_config.json
    105 Bytes
    Upload folder using huggingface_hub 7 months ago
  • special_tokens_map.json
    1.05 kB
    Upload folder using huggingface_hub 7 months ago
  • tokenizer.json
    34.4 MB
    xet
    Upload folder using huggingface_hub 7 months ago
  • tokenizer_config.json
    46.5 kB
    Upload folder using huggingface_hub 7 months ago