sentence-transformers
Safetensors
setfit
English
bert
dlp
data-loss-prevention
pii
security
spidercob
Eval Results (legacy)
Instructions to use Sumeetgpt/dlp-intent-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Sumeetgpt/dlp-intent-classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Sumeetgpt/dlp-intent-classifier") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - setfit
How to use Sumeetgpt/dlp-intent-classifier with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("Sumeetgpt/dlp-intent-classifier") - Notebooks
- Google Colab
- Kaggle
| { | |
| "base_model": "sentence-transformers/all-MiniLM-L6-v2", | |
| "labels": [ | |
| "REAL_DATA", | |
| "TEST_DATA", | |
| "DOCUMENTATION", | |
| "NOISE" | |
| ], | |
| "label2id": { | |
| "REAL_DATA": 0, | |
| "TEST_DATA": 1, | |
| "DOCUMENTATION": 2, | |
| "NOISE": 3 | |
| }, | |
| "test_accuracy": 0.9425287356321839 | |
| } |