Skip to content

smcleod

guardrails-v1

smcleod/guardrails-v1

guardrails-v1 is a text classification model from smcleod. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.

A binary prompt-safety classifier. Given a prompt, it returns safe or unsafe (attempted prompt injection / jailbreak). Designed as a cheap first-pass filter in front of LLM calls - your application decides what to do…

Downloads · 30 days

17

20% of all-time downloads

All-time downloads

85

Public

Parameters

150M

598 MB on disk

Likes

0

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.safetensors598 MB · 99%

At a glance

Task
Text Classification
Library
transformers
License
apache-2.0
Model type
modernbert
Access
Public
Created
Apr 24, 2026
Updated
Apr 24, 2026
SHA
b5d54ff7

Try a prompt

Base models

Task
Text Classification
Library
transformers
Type
modernbert
License
apache-2.0
Languages
en
Created
Apr 24, 2026
Updated
Apr 24, 2026