Finetuned Models
Collection
4 items
โข
Updated
Your Intelligent Guardian for Personal Data Protection
PII-Shield is your cutting-edge solution for protecting sensitive information in text data. Powered by advanced transformer architecture, it's your first line of defense against unintended PII exposure.
"Regular text with sarah.smith@email.com" โ "Regular text with [EMAIL_1]"
"Call John at (555) 123-4567" โ "Call [PERSON_1] at [PHONE_1]"
Original โ Masked โ JSON Mapping
Category | Icon | Example |
---|---|---|
Names | ๐ค | John Smith |
Emails | ๐ง | user@domain.com |
Phones | ๐ฑ | (555) 123-4567 |
Addresses | ๐ | 123 Privacy St |
SSN | ๐ข | XXX-XX-XXXX |
Credit Cards | ๐ณ | XXXX-XXXX-XXXX |
DOB | ๐ | MM/DD/YYYY |
IPs | ๐ | 192.168.1.1 |
def detect_pii(text: str) -> List[Entity]:
"""
๐ Intelligent PII detection
Returns list of identified entities
"""
pass
def mask_pii(text: str, entities: List[Entity]) -> Dict:
"""
๐ก๏ธ Smart PII masking
Returns masked text and mapping
"""
pass
{
"text": "Your sensitive text here",
"options": {
"mask_format": "[TYPE_INDEX]",
"return_mapping": true
}
}
{
"masked_text": "Your [TYPE_1] text here",
"pii_mapping": [
{
"label": "TYPE",
"value": "sensitive",
"index": 1
}
]
}
Metric | Score | Trend |
---|---|---|
Precision | 98.5% | โฌ๏ธ |
Recall | 97.8% | โฌ๏ธ |
Speed | 2ms/req | โฌ๏ธ |
Accuracy | 99.1% | โก๏ธ |
Apache License 2.0 โข Made with โค๏ธ for Privacy
Base model
meta-llama/Llama-3.2-3B-Instruct