Downloads · 30 days
320
7% of all-time downloads
data-is-better-together/open-image-preferences-v1-flux-dev-lora
open-image-preferences-v1-flux-dev-lora is a text-to-image model from data-is-better-together. 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
320
7% of all-time downloads
All-time downloads
4.5K
Public
Repo size
3.4 GB
Likes
27
Public
Click a slice to open those files.
.bin2.9 GB · 82%
From the Hugging Face model README
These are davidberenstein1957/image-preferences-flux-schnell-lora DreamBooth LoRA weights for black-forest-labs/FLUX.1-schnell.
The weights were trained using DreamBooth with the Flux diffusers trainer.
Was LoRA for the text encoder enabled? False.
You should use ["Cinematic", "Photographic", "Anime", "Manga", "Digital art", "Pixel art", "Fantasy art", "Neonpunk", "3D Model", “Painting”, “Animation” “Illustration”] 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('davidberenstein1957/image-preferences-flux-dev-lora', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('["Cinematic", "Photographic", "Anime", "Manga", "Digital art", "Pixel art", "Fantasy art", "Neonpunk", "3D Model", “Painting”, “Animation” “Illustration”]').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]