Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

madhurjindal
/
Jailbreak-Detector-Large

Text Classification
Transformers
TensorBoard
Safetensors
English
deberta-v2
Trained with AutoTrain
security
ai-security
jailbreak-detection
ai-safety
llm-security
prompt-injection
mdeberta
binary-classification
content-filtering
model-security
chatbot-security
prompt-engineering
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Metrics Training metrics Community
3

Instructions to use madhurjindal/Jailbreak-Detector-Large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use madhurjindal/Jailbreak-Detector-Large with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="madhurjindal/Jailbreak-Detector-Large")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("madhurjindal/Jailbreak-Detector-Large")
    model = AutoModelForSequenceClassification.from_pretrained("madhurjindal/Jailbreak-Detector-Large", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Came out best of 10 detectors on AgentDojo's 629 injection attacks

4
#3 opened 27 days ago by
optionalrudra

Information on train, validation, test datasets used

#2 opened 12 months ago by
koala99
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs