How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-inpainting", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("ShreyashDhoot/v3")

prompt = "Turn this cat into a dog"
input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")

image = pipe(image=input_image, prompt=prompt).images[0]

ShreyashDhoot/v3

Last updated: 2026-05-06 04:41

Model Description

KTO fine-tuned Stable Diffusion inpainter with LoRA for safety alignment. Base model: runwayml/stable-diffusion-inpainting

Checkpoints

  • checkpoint--1000
  • checkpoint--1250
  • checkpoint--1500
  • checkpoint--1750
  • checkpoint--2000
  • checkpoint--2250
  • checkpoint--250
  • checkpoint--2500
  • checkpoint--2750
  • checkpoint--3000
  • checkpoint--3250
  • checkpoint--3500
  • checkpoint--3750
  • checkpoint--4000
  • checkpoint--4250
  • checkpoint--4500
  • checkpoint--4750
  • checkpoint--500
  • checkpoint--5000
  • checkpoint--5250
  • checkpoint--5500
  • checkpoint--750

Example Eval Outputs

eval_step1000_sample0.png eval_step1000_sample1.png eval_step1000_sample10.png eval_step1000_sample11.png eval_step1000_sample12.png eval_step1000_sample13.png eval_step1000_sample14.png eval_step1000_sample15.png


Auto-generated by push_to_hf.py

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ShreyashDhoot/v3

Adapter
(22)
this model