Downloads · 30 days
24
0% of all-time downloads
ab-ai/pii_model_based_on_distilbert
pii_model_based_on_distilbert is a token classification model from ab-ai. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
24
0% of all-time downloads
All-time downloads
16.8K
Public
Parameters
66.4M
2.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors266 MB · 100%
From the Hugging Face model README
PII Detection Model Based on DistilBERT
This model is a token classification model trained for detecting personally identifiable information (PII) entities such as names, addresses, dates of birth, credit card numbers, etc. The model is based on the DistilBERT architecture and has been fine-tuned on a custom dataset for PII detection.
The model is intended to be used for automatically identifying and extracting PII entities from text data. It can be incorporated into data processing pipelines for tasks such as data anonymization, redaction, compliance with privacy regulations, etc.
The model's performance was evaluated on a held-out validation set using the following metrics:
| Epoch | Training Loss | Validation Loss | Precision | Recall | F1 Score | Accuracy |
|---|---|---|---|---|---|---|
| 1 | 0.047 | 0.051537 | 91.35% | 95.23% | 93.25% | 98.56% |
| 2 | 0.0307 | 0.043873 | 93.27% | 96.10% | 94.66% | 98.75% |
| 3 | 0.0208 | 0.04702 | 91.83% | 95.49% | 93.62% | 98.54% |
| 4 | 0.0147 | 0.046979 | 93.27% | 94.97% | 94.11% | 98.77% |
| 5 | 0.0094 | 0.057863 | 93.41% | 95.92% | 94.65% | 98.70% |