Text Classification
Transformers
Safetensors
English
distilbert
prompt-injection
security
cybersecurity
llm-security
ml-intern
text-embeddings-inference
Instructions to use av-codes/pi-detector-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use av-codes/pi-detector-distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="av-codes/pi-detector-distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("av-codes/pi-detector-distilbert") model = AutoModelForSequenceClassification.from_pretrained("av-codes/pi-detector-distilbert") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
551ef81 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ae22f7875c9b5a884d3c1d28b340e1a4ddf3dd21a23f7ab1eece96a498a9a384
size 5329
|