Edit model card

mullermilch_lora

This is a standard PEFT LoRA derived from black-forest-labs/FLUX.1-dev.

The main validation prompt used during training was:

Depict an explosion of color and energy emanating from a centrally placed mull3rm1lch bottle, symbolizing its sweet cookie flavor.

Validation settings

  • CFG: 3.0
  • CFG Rescale: 0.0
  • Steps: 40
  • Sampler: None
  • Seed: 4242
  • Resolution: 1024x1024

Note: The validation settings are not necessarily the same as the training settings.

You can find some example images in the following gallery:

Prompt
unconditional (blank prompt)
Negative Prompt
blurry, cropped, ugly
Prompt
mull3rm1lch bottle nestled in the warm sand at a beach, surrounded by gentle waves lapping at the shore. The atmosphere is relaxed and sunny, filled with laughter from families playing nearby. Palm trees sway gently in the breeze, while seagulls glide overhead. The bottle sparkles under the sun, embodying a refreshing escape from everyday life.
Negative Prompt
blurry, cropped, ugly
Prompt
mull3rm1lch bottle on a picnic blanket in the mountains, surrounded by snacks and a scenic view.
Negative Prompt
blurry, cropped, ugly
Prompt
mull3rm1lch bottle placed on a gym bench next to workout gear after an intense workout session. The atmosphere is energetic and motivating, suggesting that the mull3rm1lch provides the perfect boost of energy for active individuals looking to indulge after exercising.
Negative Prompt
blurry, cropped, ugly
Prompt
mull3rm1lch bottle surrounded by playful, yummy-lokking cookies and whimsical clouds of cream. The atmosphere is vibrant and joyful, filled with bright colors that evoke childhood memories of sweetness and fun. This imagery invites viewers to imagine the delight of savoring a piece of cookie that brings happiness to any moment.
Negative Prompt
blurry, cropped, ugly
Prompt
mull3rm1lch bottle at the center of an explosion of chocolate cookie colors and abstract shapes, symbolizing happiness and energy. Incorporate swirling lines and dynamic patterns that evoke the sensation of an energy boost.
Negative Prompt
blurry, cropped, ugly
Prompt
Depict an explosion of color and energy emanating from a centrally placed mull3rm1lch bottle, symbolizing its sweet cookie flavor.
Negative Prompt
blurry, cropped, ugly

The text encoder was not trained. You may reuse the base model text encoder for inference.

Training settings

  • Training epochs: 499
  • Training steps: 10000
  • Learning rate: 0.0001
  • Effective batch size: 1
    • Micro-batch size: 1
    • Gradient accumulation steps: 1
    • Number of GPUs: 1
  • Prediction type: flow-matching
  • Rescaled betas zero SNR: False
  • Optimizer: adamw_bf16
  • Precision: Pure BF16
  • Quantised: Yes: int8-quanto
  • Xformers: Not used
  • LoRA Rank: 16
  • LoRA Alpha: None
  • LoRA Dropout: 0.1
  • LoRA initialisation style: default

Datasets

mullermilch

  • Repeats: 0
  • Total number of images: 20
  • Total number of aspect buckets: 2
  • Resolution: 1.048576 megapixels
  • Cropped: False
  • Crop style: None
  • Crop aspect: None

Inference

import torch
from diffusers import DiffusionPipeline

model_id = 'black-forest-labs/FLUX.1-dev'
adapter_id = 'petrznel/mullermilch_lora'
pipeline = DiffusionPipeline.from_pretrained(model_id)
pipeline.load_lora_weights(adapter_id)

prompt = "Depict an explosion of color and energy emanating from a centrally placed mull3rm1lch bottle, symbolizing its sweet cookie flavor."

pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu')
image = pipeline(
    prompt=prompt,
    num_inference_steps=40,
    generator=torch.Generator(device='cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu').manual_seed(1641421826),
    width=1024,
    height=1024,
    guidance_scale=3.0,
).images[0]
image.save("output.png", format="PNG")
Downloads last month
8
Inference API
Examples

Model tree for petrznel/mullermilch_lora

Adapter
(9420)
this model