Downloads · 30 days
12
21% of all-time downloads
YosepMulia/instruction-safety-gate
instruction-safety-gate is a machine learning model from YosepMulia. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
instruction-safety-gate is a language model designed to act as a safety layer that evaluates natural language instructions before execution.
Downloads · 30 days
12
21% of all-time downloads
All-time downloads
58
Public
Repo size
11 B
Likes
0
Public
Click a slice to open those files.
.py3.2 KB · 50%
From the Hugging Face model README
instruction-safety-gate is a language model designed to act as a safety layer that evaluates natural language instructions before execution.
The model determines whether an instruction can be safely executed by classifying it as valid, ambiguous, contradictory, incomplete, or unsafe. It is intended to prevent unsafe or invalid instructions from reaching humanoid or agent execution systems.
The model outputs JSON only:
{
"label": "VALID | AMBIGUOUS | CONTRADICTORY | INCOMPLETE | UNSAFE",
"confidence": 0.0
}