Skip to content

shri-ads

phi4-guardrail

shri-ads/phi4-guardrail

phi4-guardrail is a text generation model from shri-ads. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.

A guarded wrapper around microsoft/Phi-4-mini-instruct that intercepts every prompt with meta-llama/Llama-Prompt-Guard-2-86M before forwarding to the base model.

Downloads · 30 days

23

30% of all-time downloads

All-time downloads

76

Public

Repo size

15.5 MB

Likes

0

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.json15.5 MB · 100%

At a glance

Task
Text Generation
Library
transformers
License
mit
Model type
sentinel_guarded_phi
Access
Public
Created
Feb 24, 2026
Updated
Feb 25, 2026
SHA
d7d19a01

Try a prompt

Base models

Task
Text Generation
Library
transformers
Type
sentinel_guarded_phi
License
mit
Languages
en
Created
Feb 24, 2026
Updated
Feb 25, 2026