Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

Horizon-Labs
/
pii-redactor-base

Token Classification
Transformers
ONNX
Safetensors
Transformers.js
modernbert
pii
pii-detection
redaction
anonymization
privacy
secrets-detection
data-masking
ner
presidio
mmbert
Model card Files Files and versions
xet
Community

Instructions to use Horizon-Labs/pii-redactor-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Horizon-Labs/pii-redactor-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="Horizon-Labs/pii-redactor-base")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Horizon-Labs/pii-redactor-base")
    model = AutoModelForTokenClassification.from_pretrained("Horizon-Labs/pii-redactor-base", device_map="auto")
  • Transformers.js

    How to use Horizon-Labs/pii-redactor-base with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('token-classification', 'Horizon-Labs/pii-redactor-base');
  • Notebooks
  • Google Colab
  • Kaggle
pii-redactor-base
3.14 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
Horizon-Labs's picture
Horizon-Labs
Add SHA256SUMS for the model files
ef0eff8 verified 26 days ago
  • code
    code: evaluate_pii.py with the Oct 2026 third-party benchmarks about 1 month ago
  • eval
    PII Redactor base v1.0 2 months ago
  • onnx
    PII Redactor base v1.0 2 months ago
  • training
    PII Redactor base v1.0 2 months ago
  • .gitattributes
    1.57 kB
    PII Redactor base v1.0 2 months ago
  • LICENSE
    11.4 kB
    Add LICENSE (Apache-2.0) and NOTICE (base model attribution) 29 days ago
  • NOTICE
    1.55 kB
    Add LICENSE (Apache-2.0) and NOTICE (base model attribution) 29 days ago
  • README.md
    12.9 kB
    Card: third-party Arabic, French, Korean and Turkish PII benchmarks about 1 month ago
  • SHA256SUMS
    850 Bytes
    Add SHA256SUMS for the model files 26 days ago
  • config.json
    4.76 kB
    Revert unintended edits from test runs (back to bb6ca9aa76) 2 months ago
  • llm_guard_conf.py
    1.72 kB
    Add LLM Guard Anonymize config 2 months ago
  • model.safetensors
    1.23 GB
    xet
    PII Redactor base v1.0 2 months ago
  • redact.py
    3.61 kB
    PII Redactor base v1.0 2 months ago
  • special_tokens_map.json
    636 Bytes
    PII Redactor base v1.0 2 months ago
  • tokenizer.json
    34.4 MB
    xet
    PII Redactor base v1.0 2 months ago
  • tokenizer_config.json
    46.4 kB
    PII Redactor base v1.0 2 months ago