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 provenance/artifacts/data-window-coverage.json from DataFog/pii-en-65m: direct link, hf CLI and curl.
- Browser
- Download file 540 Bytes
-
https://huggingface.co/DataFog/pii-en-65m/resolve/main/provenance/artifacts/data-window-coverage.json
- Command line
-
hf download hf://DataFog/pii-en-65m/provenance/artifacts/data-window-coverage.json
-
curl -L -o data-window-coverage.json https://huggingface.co/DataFog/pii-en-65m/resolve/main/provenance/artifacts/data-window-coverage.json
540 Bytes
| { | |
| "known_overflow_failure_record": "train:10076:f94b98732ab74f1f9b59a5162fdc1f1a", | |
| "untruncated_tokens": 553, | |
| "manual_window_lengths": [ | |
| 512, | |
| 87 | |
| ], | |
| "token_ids_and_offsets_reconstruction_exact": true, | |
| "cache_train_stats": { | |
| "documents": 89307, | |
| "chunks": 99258, | |
| "tokens": 24285133, | |
| "ignored_boundary_tokens": 16, | |
| "partial_window_entity_tokens": 2741 | |
| }, | |
| "train_content_tokens": 23668675, | |
| "special_tokens": 198516, | |
| "repeated_overlap_tokens": 417942, | |
| "complete_token_accounting_verified": true | |
| } |