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("stabilityai/stable-diffusion-2-1-base", dtype=torch.bfloat16, device_map="cuda")
pipe.load_textual_inversion("janetsw/bas")

Textual inversion text2image fine-tuning - janetsw/bas

These are textual inversion adaption weights for stabilityai/stable-diffusion-2-1-base. You can find some example images in the following.

Downloads last month
85
Safetensors
Model size
0.9B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for janetsw/bas

Adapter
(713)
this model

Space using janetsw/bas 1