Downloads · 30 days
17
13% of all-time downloads
saisriteja/trained-flux2-klein-4b
trained-flux2-klein-4b is a text-to-image model from saisriteja. 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
17
13% of all-time downloads
All-time downloads
131
Public
Repo size
44.6 MB
Likes
0
Public
Click a slice to open those files.
.041.6 MB · 89%
From the Hugging Face model README
These are saisriteja/trained-flux2-klein-4b DreamBooth LoRA weights for black-forest-labs/FLUX.2-klein-4B.
The weights were trained using DreamBooth with the Flux2 diffusers trainer.
Quant training? None
You should use a photo of sks1 person 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.2", torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('saisriteja/trained-flux2-klein-4b', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('A photo of sks1 person standing in a beach looking at the sky').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]