modified README.md
#2
by
abishekcodes - opened
README.md
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- pii-detection
|
| 4 |
+
- phi-detection
|
| 5 |
+
- hipaa
|
| 6 |
+
- column-classification
|
| 7 |
+
license: apache-2.0
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# HIPAA Column Classifier
|
| 11 |
+
|
| 12 |
+
**95%+ accuracy PII/PHI/O detector for database columns**
|
| 13 |
+
|
| 14 |
+
## Usage
|
| 15 |
+
```python
|
| 16 |
+
from transformers import pipeline
|
| 17 |
+
|
| 18 |
+
classifier = pipeline(
|
| 19 |
+
"text-classification",
|
| 20 |
+
model="abishek-kronosx/hipaa-column-classifier"
|
| 21 |
+
)
|
| 22 |
+
|
| 23 |
+
print(classifier("memberCell")) # [{'label': 'PII', 'score': 0.98}]
|
| 24 |
+
print(classifier("radiologyExam")) # [{'label': 'PHI', 'score': 0.95}]
|
| 25 |
+
print(classifier("skuAddress")) # [{'label': 'O', 'score': 0.99}]
|
| 26 |
+
|
| 27 |
+
| Column | Prediction |
|
| 28 |
+
| ------------- | ---------- |
|
| 29 |
+
| memberCell | PII ✅ |
|
| 30 |
+
| radiologyExam | PHI ✅ |
|
| 31 |
+
| drugCode | PHI ✅ |
|
| 32 |
+
| skuAddress | O ✅ |
|