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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

pmking27
/
jailbreak-detection

Text Classification
Transformers
Safetensors
deberta-v2
jailbreak-detection
prompt-injection
content-safety
nlp
sequence-classification
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use pmking27/jailbreak-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use pmking27/jailbreak-detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="pmking27/jailbreak-detection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("pmking27/jailbreak-detection")
    model = AutoModelForSequenceClassification.from_pretrained("pmking27/jailbreak-detection")
  • Notebooks
  • Google Colab
  • Kaggle
jailbreak-detection
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
pmking27's picture
pmking27
Update README.md
7b4c939 verified 12 months ago
  • .gitattributes
    1.57 kB
    Upload tokenizer 12 months ago
  • README.md
    7.35 kB
    Update README.md 12 months ago
  • config.json
    956 Bytes
    Upload DebertaV2ForSequenceClassification 12 months ago
  • model.safetensors
    1.12 GB
    xet
    Upload DebertaV2ForSequenceClassification 12 months ago
  • special_tokens_map.json
    970 Bytes
    Upload tokenizer 12 months ago
  • tokenizer.json
    16.3 MB
    xet
    Upload tokenizer 12 months ago
  • tokenizer_config.json
    1.51 kB
    Upload tokenizer 12 months ago