Downloads · 30 days
0
jhoh2525/ESD-u-1
ESD-u-1 is a machine learning model from jhoh2525. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is an ESD (Erasing Concepts from Diffusion Models) model trained to erase specific concepts.
Downloads · 30 days
0
Access
Public
Updated Apr 25, 2025
Repo size
1.6 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 100%
From the Hugging Face model README
This is an ESD (Erasing Concepts from Diffusion Models) model trained to erase specific concepts.
This model can be used with the ESD technique to erase concepts from Stable Diffusion.
# Example code to use this model
from diffusers import StableDiffusionPipeline
from safetensors.torch import load_file
import torch
# Load the base model
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", torch_dtype=torch.float16).to("cuda")
# Load the ESD parameters
esd_params = load_file("path/to/downloaded/model.safetensors")
# Apply ESD parameters to model
# (implementation depends on your ESD setup)