Text Classification
Transformers
PyTorch
Safetensors
English
bert
jailbreak
security
moderation
prompt-injection
text-embeddings-inference
Instructions to use lordofthejars/jailbreak-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lordofthejars/jailbreak-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lordofthejars/jailbreak-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lordofthejars/jailbreak-classifier") model = AutoModelForSequenceClassification.from_pretrained("lordofthejars/jailbreak-classifier") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
c93e896 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:450171758333f23800a7283e74f638d11f38a5b56420445ee2d0d2a6e35ee37e
size 438001134
|