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

Tamarillo
/
pii-secrets-guard-base

Token Classification
Transformers
ONNX
Safetensors
Transformers.js
modernbert
pii
pii-detection
secret-detection
dlp
ai-agents
security
guardrails
presidio
llm-guard
litellm
nemo-guardrails
open-webui
data-loss-prevention
Model card Files Files and versions
xet
Community

Instructions to use Tamarillo/pii-secrets-guard-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Tamarillo/pii-secrets-guard-base with Transformers:

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

    How to use Tamarillo/pii-secrets-guard-base with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('token-classification', 'Tamarillo/pii-secrets-guard-base');
  • Notebooks
  • Google Colab
  • Kaggle
pii-secrets-guard-base / scripts
83.8 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
greendesk1631's picture
greendesk1631
Release Tamarillo/pii-secrets-guard-base
fd61893 verified 4 days ago
  • data_builder.py
    19.9 kB
    Release Tamarillo/pii-secrets-guard-base 4 days ago
  • eval_suite.py
    15.9 kB
    Release Tamarillo/pii-secrets-guard-base 4 days ago
  • synth_secrets.py
    23.6 kB
    Release Tamarillo/pii-secrets-guard-base 4 days ago
  • taxonomy.py
    11.8 kB
    Release Tamarillo/pii-secrets-guard-base 4 days ago
  • train.py
    12.6 kB
    Release Tamarillo/pii-secrets-guard-base 4 days ago