Downloads · 30 days
11
6% of all-time downloads
javadtaghia/dee-unlearning-tiny-sd
dee-unlearning-tiny-sd is a text-to-image model from javadtaghia. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
Model family: Stable Diffusion | Base: SG161222/RealisticVisionV4.0 (Diffusers 0.19.0.dev0)
Downloads · 30 days
11
6% of all-time downloads
All-time downloads
171
Public
Repo size
2.1 GB
Likes
1
Public
Click a slice to open those files.
.bin1.1 GB · 100%
From the Hugging Face model README
Model family: Stable Diffusion | Base: SG161222/Realistic_Vision_V4.0 (Diffusers 0.19.0.dev0)
This repository packages the inference components (VAE, UNet, tokenizer, text encoder, scheduler config) that instantiate a StableDiffusionPipeline tuned for lightweight experimentation with deep unlearning ideas. All large binaries are stored under Git LFS (*.bin and other model artifact extensions as configured in .gitattributes).
StableDiffusionPipeline with UNet2DConditionModel, CLIPTextModel, AutoencoderKL, and DPMSolverMultistepScheduler.num_train_timesteps=1000, steps_offset=1, and the default epsilon prediction type that aligns with the diffusion formulation used in Realistic Vision.diffusers==0.19.0.dev0, transformers, torch, accelerate, safetensors).from diffusers import StableDiffusionPipeline
from transformers import CLIPTokenizer, CLIPTextModel
from diffusers import UNet2DConditionModel, AutoencoderKL, DPMSolverMultistepScheduler
pipeline = StableDiffusionPipeline(
text_encoder=CLIPTextModel.from_pretrained("path/to/text_encoder"),
tokenizer=CLIPTokenizer.from_pretrained("path/to/tokenizer"),
unet=UNet2DConditionModel.from_pretrained("path/to/unet"),
vae=AutoencoderKL.from_pretrained("path/to/vae"),
scheduler=DPMSolverMultistepScheduler.from_config("path/to/scheduler"),
)
pipeline.to("cuda")
prompt = "A cinematic portrait of a futuristic astronaut exploring a coral reef"
with torch.autocast("cuda"):
image = pipeline(prompt, num_inference_steps=25, guidance_scale=7.5).images[0]
Replace each from_pretrained call with the relative path inside this repository (e.g., "text_encoder"). Exported weights follow the standard Diffusers layout, so you can also load the entire pipeline from disk with StableDiffusionPipeline.load_from_directory(...) if you prefer a single root.
num_inference_steps to explore speed/quality trade-offs for on-device sampling.This work builds on the SG161222/Realistic_Vision_V4.0 checkpoints and the Diffusers ecosystem. Verify and comply with the upstream license before redistributing or fine-tuning the weights.