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

TangoBeeAkto
/
deberta-prompt-injection

Text Classification
Transformers
ONNX
Safetensors
deberta-v2
llm-guard
security
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use TangoBeeAkto/deberta-prompt-injection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use TangoBeeAkto/deberta-prompt-injection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="TangoBeeAkto/deberta-prompt-injection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("TangoBeeAkto/deberta-prompt-injection")
    model = AutoModelForSequenceClassification.from_pretrained("TangoBeeAkto/deberta-prompt-injection", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
deberta-prompt-injection / onnx
1.52 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
TangoBeeAkto's picture
TangoBeeAkto
Upload deberta-prompt-injection model for LLM Guard
df62042 verified 9 months ago
  • added_tokens.json
    23 Bytes
    Upload deberta-prompt-injection model for LLM Guard 9 months ago
  • config.json
    1.01 kB
    Upload deberta-prompt-injection model for LLM Guard 9 months ago
  • model.onnx
    739 MB
    xet
    Upload deberta-prompt-injection model for LLM Guard 9 months ago
  • model_optimized.onnx
    774 MB
    xet
    Upload deberta-prompt-injection model for LLM Guard 9 months ago
  • special_tokens_map.json
    970 Bytes
    Upload deberta-prompt-injection model for LLM Guard 9 months ago
  • spm.model
    2.46 MB
    xet
    Upload deberta-prompt-injection model for LLM Guard 9 months ago
  • tokenizer.json
    8.65 MB
    Upload deberta-prompt-injection model for LLM Guard 9 months ago
  • tokenizer_config.json
    1.28 kB
    Upload deberta-prompt-injection model for LLM Guard 9 months ago