Downloads · 30 days
7
6% of all-time downloads
viyer7/trained-qwen-lora
trained-qwen-lora is a text-to-image model from viyer7. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
7
6% of all-time downloads
All-time downloads
123
Public
Repo size
24.4 MB
Likes
0
Public
Click a slice to open those files.
.safetensors23.7 MB · 65%
From the Hugging Face model README
These are viyer7/trained-qwen-lora DreamBooth LoRA weights for models/Qwen-Image.
The weights were trained using DreamBooth with the Qwen Image diffusers trainer.
You should use None to trigger the image generation.
Download the *.safetensors LoRA in the Files & versions tab.
>>> import torch
>>> from diffusers import QwenImagePipeline
>>> pipe = QwenImagePipeline.from_pretrained(
... "Qwen/Qwen-Image",
... torch_dtype=torch.bfloat16,
... )
>>> pipe.enable_model_cpu_offload()
>>> pipe.load_lora_weights(f"viyer7/trained-qwen-lora")
>>> image = pipe(f"None").images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
# TODO: add an example code snippet for running this diffusion pipeline
[TODO: provide examples of latent issues and potential remediations]
[TODO: describe the data used to train the model]