Downloads · 30 days
3
1% of all-time downloads
basakozsoy/maya_LoRA
maya_LoRA is a text-to-image model from basakozsoy. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as openrail++.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
3
1% of all-time downloads
All-time downloads
247
Public
Repo size
23.5 MB
Likes
0
Public
Click a slice to open those files.
.safetensors23.4 MB · 100%
From the Hugging Face model README
These are basakozsoy/maya_LoRA LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
The weights were trained using DreamBooth.
LoRA for the text encoder was enabled: True.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
You should use a photo of TOK cat to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
import torch
from diffusers import DiffusionPipeline, AutoencoderKL
repo_id = 'basakozsoy/maya_LoRA'
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
pipe = DiffusionPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
vae=vae,
torch_dtype=torch.float16,
variant="fp16",
use_safetensors=True
)
pipe.load_lora_weights(repo_id)
_ = pipe.to("cuda")
pipe.load_lora_weights(repo_id)
[TODO: provide examples of latent issues and potential remediations]
[TODO: describe the data used to train the model]