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

AxiomicLabs
/
X3Guard-150M

Text Classification
Transformers
Safetensors
English
gptx3
guard
safety
moderation
jailbreak-detection
prompt-injection
GPT-X3
X3Guard
X3Guard-150M
custom_code
Model card Files Files and versions
xet
Community

Instructions to use AxiomicLabs/X3Guard-150M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AxiomicLabs/X3Guard-150M with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="AxiomicLabs/X3Guard-150M", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModelForSequenceClassification
    model = AutoModelForSequenceClassification.from_pretrained("AxiomicLabs/X3Guard-150M", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
X3Guard-150M
605 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
lesageethan's picture
lesageethan
Update REAME
20efa1c verified 2 days ago
  • assets
    Release X3Guard-150M 3 days ago
  • .gitattributes
    1.56 kB
    Release X3Guard-150M 3 days ago
  • .gitignore
    24 Bytes
    Release X3Guard-150M 3 days ago
  • README.md
    16.3 kB
    Update REAME 2 days ago
  • X3Guard_banner-1200x630.png
    608 kB
    xet
    Release X3Guard-150M 3 days ago
  • X3Guard_banner.png
    1.01 MB
    xet
    Release X3Guard-150M 3 days ago
  • __init__.py
    54 Bytes
    Release X3Guard-150M 3 days ago
  • config.json
    1.04 kB
    Release X3Guard-150M 3 days ago
  • configuration_gptx3.py
    2.29 kB
    Release X3Guard-150M 3 days ago
  • inference.py
    2.77 kB
    Release X3Guard-150M 3 days ago
  • model.safetensors
    598 MB
    xet
    Release X3Guard-150M 3 days ago
  • modeling_gptx3.py
    18.1 kB
    Release X3Guard-150M 3 days ago
  • modeling_x3guard.py
    3.39 kB
    Release X3Guard-150M 3 days ago
  • requirements.txt
    134 Bytes
    Release X3Guard-150M 3 days ago
  • tokenizer.json
    4.73 MB
    Release X3Guard-150M 3 days ago
  • tokenizer_config.json
    13 kB
    Release X3Guard-150M 3 days ago
  • usage.py
    1.06 kB
    Release X3Guard-150M 3 days ago