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

iamvaar
/
LAYARED

Text Classification
Transformers
Safetensors
Laya
MLX
English
layared
guardrails
prompt-injection
hard-negatives
indirect-prompt-injection
trojan-cloaking
jailbreak-detection
ai-safety
modernbert
apple-silicon
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use iamvaar/LAYARED with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use iamvaar/LAYARED with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="iamvaar/LAYARED")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import LayaTypedDecisions
    model = LayaTypedDecisions.from_pretrained("iamvaar/LAYARED", device_map="auto")
  • Laya

    How to use iamvaar/LAYARED with Laya:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • MLX

    How to use iamvaar/LAYARED with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    hf download iamvaar/LAYARED --local-dir LAYARED
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • Atomic Chat
LAYARED
846 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
iamvaar's picture
iamvaar
Release LAYARED v1.1: Trojan Cloaking & Hard Negative Balanced AI Security Guardrail
cba2e4a verified 17 days ago
  • encoder
    Initial release of LAYARED: Production-Calibrated AI Security Guardrail 18 days ago
  • tokenizer
    Initial release of LAYARED: Production-Calibrated AI Security Guardrail 18 days ago
  • .gitattributes
    1.52 kB
    initial commit 18 days ago
  • README.md
    13.2 kB
    Release LAYARED v1.1: Trojan Cloaking & Hard Negative Balanced AI Security Guardrail 17 days ago
  • config.json
    77 Bytes
    Initial release of LAYARED: Production-Calibrated AI Security Guardrail 18 days ago
  • model.safetensors
    843 MB
    xet
    Release LAYARED v1.1: Trojan Cloaking & Hard Negative Balanced AI Security Guardrail 17 days ago
  • questions.json
    450 Bytes
    Initial release of LAYARED: Production-Calibrated AI Security Guardrail 18 days ago
  • rl_agent_config.json
    1.04 kB
    Release LAYARED v1.1: Trojan Cloaking & Hard Negative Balanced AI Security Guardrail 17 days ago