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
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
Download tokenizer.json from Tamarillo/pii-secrets-guard-base: direct link, hf CLI and curl.
- Browser
- Download file 34.4 MB
-
https://huggingface.co/Tamarillo/pii-secrets-guard-base/resolve/main/tokenizer.json
- Command line
-
hf download hf://Tamarillo/pii-secrets-guard-base/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Tamarillo/pii-secrets-guard-base/resolve/main/tokenizer.json
34.4 MB
- Xet hash:
- b6a07049605de88a070cfe7cf987ba04b0066bea47f173932d6b18aa3d0e758d
- Size of remote file:
- 34.4 MB
- SHA256:
- 992d4f4bd7d886d3c195679bad91c2bf8fa769271b73171a2e40b223eb0e6590
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.