|
Download src/privacy/util/code_detect/ner/README.md from Kiran5/Privacy: direct link, hf CLI and curl.
- Browser
- Download file 591 Bytes
-
https://huggingface.co/spaces/Kiran5/Privacy/resolve/main/src/privacy/util/code_detect/ner/README.md
- Command line
-
hf download hf://spaces/Kiran5/Privacy/src/privacy/util/code_detect/ner/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Kiran5/Privacy/resolve/main/src/privacy/util/code_detect/ner/README.md
591 Bytes
PII detection and Redaction using an NER model
Here we provide code to:
- fine-tune an encoder model (like StarEncoder) for the task of PII detection (NER): see folder
pii_train_ner - run inference with our fine-tuned StarPII for PII detection on multiple GPUs: see folder
pii_inference - redact/mask PII detected with the model: see folder
pii_redaction
This is the code we used for PII anonymization in the 800GB dataset StarCoderData.