Views
No views yet
| Label | Description |
|---|---|
REAL_DATA | Genuine sensitive data (PII, credentials, secrets) |
TEST_DATA | Synthetic/mock data used in tests or examples |
DOCUMENTATION | Documentation examples, tutorials, placeholder values |
NOISE | Random strings, hashes, or non-sensitive matches |
sentence-transformers/all-MiniLM-L6-v21from setfit import SetFitModel
2
3model = SetFitModel.from_pretrained("Sumeetgpt/dlp-intent-classifier")
4predictions = model.predict(["sk-proj-abc123XYZ", "test_api_key_placeholder"])
5print(predictions) # ['REAL_DATA', 'TEST_DATA']REAL_DATA confidence > 0.7; allows through on TEST_DATA confidence > 0.8.faker, factory_boy, pytest fixtures