Token Classification
Transformers
ONNX
Safetensors
English
distilbert
pii
privacy
experimental
datafog
Instructions to use DataFog/pii-en-65m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DataFog/pii-en-65m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="DataFog/pii-en-65m")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("DataFog/pii-en-65m") model = AutoModelForTokenClassification.from_pretrained("DataFog/pii-en-65m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download validation.json from DataFog/pii-en-65m: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/DataFog/pii-en-65m/resolve/main/validation.json
- Command line
-
hf download hf://DataFog/pii-en-65m/validation.json
-
curl -L -o validation.json https://huggingface.co/DataFog/pii-en-65m/resolve/main/validation.json
464 Bytes
| { | |
| "local_archive_mcp_tests": { | |
| "passed": 30, | |
| "failed": 0, | |
| "skipped": 0 | |
| }, | |
| "runtime_unit_tests": { | |
| "passed": 3, | |
| "failed": 0 | |
| }, | |
| "transformers_load": { | |
| "parameters": 65202447, | |
| "labels": 15, | |
| "local_files_only": true | |
| }, | |
| "hub_fresh_download": "Recorded separately in release report after the final immutable commit is downloaded.", | |
| "platform": "macOS ARM64", | |
| "mcp_revision": "c2c45ec62728d85b7472131a3df9ccb67afd4a02" | |
| } | |