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 bundle/export-evidence.json from DataFog/pii-en-65m: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/DataFog/pii-en-65m/resolve/main/bundle/export-evidence.json
- Command line
-
hf download hf://DataFog/pii-en-65m/bundle/export-evidence.json
-
curl -L -o export-evidence.json https://huggingface.co/DataFog/pii-en-65m/resolve/main/bundle/export-evidence.json
370 Bytes
| [ | |
| { | |
| "batch": 1, | |
| "sequence": 2, | |
| "max_abs_difference": 1.5497207641601562e-06, | |
| "argmax_identical": true | |
| }, | |
| { | |
| "batch": 2, | |
| "sequence": 12, | |
| "max_abs_difference": 8.58306884765625e-06, | |
| "argmax_identical": true | |
| }, | |
| { | |
| "batch": 1, | |
| "sequence": 512, | |
| "max_abs_difference": 1.1444091796875e-05, | |
| "argmax_identical": true | |
| } | |
| ] | |