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

Project-Bastion
/
log-pii-redactor

Token Classification
Transformers
ONNX
Safetensors
English
roberta
pii
redaction
logs
security
secrets
privacy
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Project-Bastion/log-pii-redactor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Project-Bastion/log-pii-redactor with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="Project-Bastion/log-pii-redactor")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Project-Bastion/log-pii-redactor")
    model = AutoModelForTokenClassification.from_pretrained("Project-Bastion/log-pii-redactor", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
log-pii-redactor
738 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
Project-Bastion's picture
Project-Bastion
card: v0.2 re-run of the hand-labelled syslog-style set (informational): no regression
5e40c0f verified about 7 hours ago
  • onnx
    v0.2: retrained with Windows event JSON layouts; IP fallback default on; ONNX regenerated (v0.1.1 tag keeps the old weights) 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 3 days ago
  • README.md
    18.9 kB
    card: v0.2 re-run of the hand-labelled syslog-style set (informational): no regression about 7 hours ago
  • config.json
    1.42 kB
    log-pii-redactor v0.1 (experimental) 3 days ago
  • model.safetensors
    326 MB
    xet
    v0.2: retrained with Windows event JSON layouts; IP fallback default on; ONNX regenerated (v0.1.1 tag keeps the old weights) 1 day ago
  • postproc.py
    5.82 kB
    v0.1.1: postproc.py 1 day ago
  • redact.py
    2.39 kB
    v0.2: retrained with Windows event JSON layouts; IP fallback default on; ONNX regenerated (v0.1.1 tag keeps the old weights) 1 day ago
  • tokenizer.json
    3.56 MB
    log-pii-redactor v0.1 (experimental) 3 days ago
  • tokenizer_config.json
    388 Bytes
    log-pii-redactor v0.1 (experimental) 3 days ago