File size: 803 Bytes
e5a2737 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
---
license: apache-2.0
tags:
- token-classification
- pii-detection
- privacy
- named-entity-recognition
language:
- en
pipeline_tag: token-classification
---
# PII Detection Model
This model is fine-tuned for detecting Personally Identifiable Information (PII) in text.
## Detected PII Types
- Names
- Email addresses
- Phone numbers
- Aadhaar numbers
- PAN cards
- Credit card numbers
## Usage
```python
from transformers import pipeline
# Load the model
pii_pipe = pipeline(
"token-classification",
model="Dombara/pii-detection-model",
aggregation_strategy="simple"
)
# Detect PII
text = "Contact John Doe at john@example.com or 9876543210"
results = pii_pipe(text)
print(results)
```
## Model Details
- Base model: DeBERTa
- Fine-tuned for PII detection
- Supports English text
|