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

protectai
/
deberta-v3-base-prompt-injection

Text Classification
Transformers
ONNX
Safetensors
English
deberta-v2
prompt-injection
injection
security
Generated from Trainer
text-embeddings-inference
Model card Files Files and versions
xet
Community
5

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

  • Libraries
  • Transformers

    How to use protectai/deberta-v3-base-prompt-injection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="protectai/deberta-v3-base-prompt-injection")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("protectai/deberta-v3-base-prompt-injection")
    model = AutoModelForSequenceClassification.from_pretrained("protectai/deberta-v3-base-prompt-injection")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
deberta-v3-base-prompt-injection
2.27 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 18 commits
asofter's picture
asofter
Update README.md
447ec1a verified 12 months ago
  • onnx
    Upload model_optimized.onnx about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    6.23 kB
    Update README.md 12 months ago
  • added_tokens.json
    23 Bytes
    Training in progress, epoch 1 over 2 years ago
  • config.json
    994 Bytes
    Training in progress, epoch 1 over 2 years ago
  • deberta-v3-base-prompt-injection-v1_emissions.csv
    811 Bytes
    End of training over 2 years ago
  • emissions.csv
    775 Bytes
    End of training over 2 years ago
  • model.safetensors
    738 MB
    xet
    Training in progress, epoch 3 over 2 years ago
  • special_tokens_map.json
    286 Bytes
    Training in progress, epoch 1 over 2 years ago
  • spm.model
    2.46 MB
    xet
    Training in progress, epoch 1 over 2 years ago
  • tokenizer.json
    8.66 MB
    Training in progress, epoch 1 over 2 years ago
  • tokenizer_config.json
    1.28 kB
    Training in progress, epoch 1 over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_utils.HubStrategy",
    • "torch.device",
    • "transformers.training_args.OptimizerNames",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.utils.dataclasses.DistributedType"

    How to fix it?

    4.54 kB
    xet
    Training in progress, epoch 1 over 2 years ago