Downloads · 30 days
19
7% of all-time downloads
merve/trained-flux-lora-lego
trained-flux-lora-lego is a text-to-image model from merve. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
19
7% of all-time downloads
All-time downloads
287
Public
Repo size
56.8 MB
Likes
1
Public
Click a slice to open those files.
.bin37.8 MB · 67%
From the Hugging Face model README
These are merve/trained-flux-lora-lego DreamBooth LoRA weights for black-forest-labs/FLUX.1-dev.
The weights were trained using DreamBooth with the Flux diffusers trainer.
Was LoRA for the text encoder enabled? False.
You should use lego set in style of TOK to trigger the image generation.
Download the *.safetensors LoRA in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('merve/trained-flux-lora-lego', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('lego set in style of TOK').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Please adhere to the licensing terms as described here.
# 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]