← Back to models

GLiGuard

classifierClassification

Screen prompts and responses with guardrail classifications, such as unsafe content or prompt injection, before they reach a model or a user.

antfly inference pull fastino/gliguard-LLMGuardrails-300M:safetensors
By fastinoLicense: apache-2.0Hugging Face source

Technical Specs

Architecture
GLiNER2
Parameters
208M
English

Usage

Pull the model

antfly inference pull fastino/gliguard-LLMGuardrails-300M:safetensors

Start Antfly Inference

# With Antfly standalone (Antfly Inference enabled by default)
antfly standalone

# Or run Antfly Inference on its own, listening on 127.0.0.1:8090
antfly inference run

Use in configuration

{
  "extractors": {
    "local": {
      "provider": "antfly",
      "model": "fastino/gliguard-LLMGuardrails-300M:safetensors"
    }
  }
}