Downloads · 30 days
0
basimazam/safe-diffusion-guidance
safe-diffusion-guidance is a machine learning model from basimazam. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Custom Diffusers pipeline that applies a mid-UNet safety classifier as guidance during denoising. - Plug-and-play: works with any Stable Diffusion checkpoint (e.g., SD 1.5). - No retraining needed; classifier runs on…
Downloads · 30 days
0
Access
Public
Updated Aug 11, 2025
Repo size
90 MB
Likes
0
Public
Click a slice to open those files.
.pth180 MB · 100%
From the Hugging Face model README
Custom Diffusers pipeline that applies a mid-UNet safety classifier as guidance during denoising.
safety_scale, mid_fraction, safe_class_index.python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt