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

ashield-ai
/
jailbreak-prompt-classification

Text Classification
Transformers
TensorBoard
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use ashield-ai/jailbreak-prompt-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ashield-ai/jailbreak-prompt-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="ashield-ai/jailbreak-prompt-classification")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("ashield-ai/jailbreak-prompt-classification")
    model = AutoModelForSequenceClassification.from_pretrained("ashield-ai/jailbreak-prompt-classification")
  • Notebooks
  • Google Colab
  • Kaggle
jailbreak-prompt-classification / runs
89.7 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ashield-ai's picture
ashield-ai
End of training
d971734 verified over 1 year ago
  • Jan17_20-07-12_ip-172-16-109-233.ec2.internal
    End of training over 1 year ago
  • Jan17_20-25-50_ip-172-16-109-233.ec2.internal
    End of training over 1 year ago
  • Jan17_20-40-11_ip-172-16-109-233.ec2.internal
    End of training over 1 year ago
  • Jan17_22-25-02_ip-172-16-172-220.ec2.internal
    End of training over 1 year ago
  • Jan18_03-58-29_ip-172-16-172-220.ec2.internal
    End of training over 1 year ago
  • Jan18_04-01-30_ip-172-16-172-220.ec2.internal
    End of training over 1 year ago
  • Jan18_04-46-45_9db53060210b
    End of training over 1 year ago
  • Jan18_04-47-33_9db53060210b
    End of training over 1 year ago