Text Classification
Transformers
Safetensors
distilbert
text-embeddings-inference
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="Al-Chan/Malicious_Prompt_Classifier")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Al-Chan/Malicious_Prompt_Classifier")
model = AutoModelForSequenceClassification.from_pretrained("Al-Chan/Malicious_Prompt_Classifier")
Quick Links
Downloads last month
2
Safetensors
Model size
67M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train Al-Chan/Malicious_Prompt_Classifier