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

0xdewy
/
promptscan

Text Classification
Transformers
Safetensors
English
deberta-v2
prompt-injection
ai-safety
security
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use 0xdewy/promptscan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use 0xdewy/promptscan with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="0xdewy/promptscan")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("0xdewy/promptscan")
    model = AutoModelForSequenceClassification.from_pretrained("0xdewy/promptscan", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
promptscan
292 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 17 commits
0xdewy's picture
0xdewy
promptscan model from release (threshold 0.97)
bde1423 verified about 18 hours ago
  • .gitattributes
    1.75 kB
    Upload promptscan models - lstm config (original name) 7 months ago
  • README.md
    4.78 kB
    promptscan model from release (threshold 0.97) about 18 hours ago
  • config.json
    1.64 kB
    promptscan model from release (threshold 0.97) about 18 hours ago
  • model.safetensors
    284 MB
    xet
    promptscan model from release (threshold 0.97) about 18 hours ago
  • promptscan.json
    529 Bytes
    promptscan model from release (threshold 0.97) about 18 hours ago
  • tokenizer.json
    8.34 MB
    promptscan model from release (threshold 0.97) about 18 hours ago
  • tokenizer_config.json
    618 Bytes
    promptscan model from release (threshold 0.97) about 18 hours ago