Token Classification
Transformers
ONNX
Safetensors
English
roberta
pii
redaction
logs
security
secrets
privacy
Eval Results (legacy)
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
Ctrl+K
card: v0.2 re-run of the hand-labelled syslog-style set (informational): no regression
5e40c0f verified