Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

SamJoshua
/
injection-guard-fix-recipe

Text Classification
Transformers
prompt-injection
ai-security
agents
Model card Files Files and versions
xet
Community

Instructions to use SamJoshua/injection-guard-fix-recipe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use SamJoshua/injection-guard-fix-recipe with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="SamJoshua/injection-guard-fix-recipe")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("SamJoshua/injection-guard-fix-recipe", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
injection-guard-fix-recipe / tests
11.8 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
SamJoshua's picture
SamJoshua
Training recipe and evaluation code for a fix attempt that does not meet the release gates
8c0ce05 verified 5 days ago
  • test_metrics.py
    2.35 kB
    Training recipe and evaluation code for a fix attempt that does not meet the release gates 5 days ago
  • test_privacy.py
    485 Bytes
    Training recipe and evaluation code for a fix attempt that does not meet the release gates 5 days ago
  • test_separation.py
    9.02 kB
    Training recipe and evaluation code for a fix attempt that does not meet the release gates 5 days ago