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

Accuknoxtechnologies
/
PromptInjection-Encoder-v1

Text Classification
Transformers
modernbert
prompt-injection
jailbreak
security
multi-label
llm-guard
encoder
Model card Files Files and versions
xet
Community

Instructions to use Accuknoxtechnologies/PromptInjection-Encoder-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Accuknoxtechnologies/PromptInjection-Encoder-v1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Accuknoxtechnologies/PromptInjection-Encoder-v1")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Accuknoxtechnologies/PromptInjection-Encoder-v1")
    model = AutoModelForSequenceClassification.from_pretrained("Accuknoxtechnologies/PromptInjection-Encoder-v1")
  • Notebooks
  • Google Colab
  • Kaggle
PromptInjection-Encoder-v1
58.3 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 23 commits
Yash1005's picture
Yash1005
Delete checkpoint-3400
040e4d3 27 days ago
  • .gitattributes
    1.64 kB
    upload Prompt-Injection encoder (multi-label classifier) about 1 month ago
  • README.md
    4.84 kB
    add/update model card with eval metrics about 1 month ago
  • config.json
    2.54 kB
    upload Prompt-Injection encoder (multi-label classifier) about 1 month ago
  • eval_metrics.json
    1.05 kB
    add eval metrics json about 1 month ago
  • special_tokens_map.json
    1.05 kB
    upload Prompt-Injection encoder (multi-label classifier) about 1 month ago
  • thresholds.json
    279 Bytes
    upload Prompt-Injection encoder (multi-label classifier) about 1 month ago
  • tokenizer_config.json
    46.5 kB
    upload Prompt-Injection encoder (multi-label classifier) about 1 month ago
  • training_provenance.json
    444 Bytes
    upload Prompt-Injection encoder (multi-label classifier) about 1 month ago