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

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.bfloat16, device_map="cuda")
pipe.load_textual_inversion("dchuang777/textual_inversion_penguin")

Textual inversion text2image fine-tuning - dchuang777/textual_inversion_penguin

These are textual inversion adaption weights for runwayml/stable-diffusion-v1-5. You can find some example images in the following.

Downloads last month
10
Safetensors
Model size
0.9B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for dchuang777/textual_inversion_penguin

Adapter
(2753)
this model

Spaces using dchuang777/textual_inversion_penguin 2