Views
No views yet
| Prompt | SDXL | Fine Tuned |
|---|---|---|
| a boat in the canals of Venice, painted in gouache with soft, flowing brushstrokes and vibrant, translucent colors, capturing the serene reflection on the water under a misty ambiance, with rich textures and a dynamic perspective | ![]() | ![]() |
| Grainy shot of a robot cooking in the kitchen, with soft shadows and nostalgic film texture. | ![]() | ![]() |
diffusers1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained(
5 "stabilityai/stable-diffusion-xl-base-1.0",
6 torch_dtype=torch.bfloat16
7).to('cuda')
8pipeline.load_lora_weights('ariG23498/open-image-preferences-v1-sdxl-lora', weight_name='pytorch_lora_weights.safetensors')
9prompt = "ENTER PROMPT"
10image = pipeline(prompt).images[0]1!accelerate launch examples/dreambooth/train_dreambooth_lora_sdxl.py \
2 --pretrained_model_name_or_path "stabilityai/stable-diffusion-xl-base-1.0" \
3 --dataset_name "data-is-better-together/open-image-preferences-v1-binarized" \
4 --hub_model_id "ariG23498/open-image-preferences-v1-sdxl-lora" \
5 --push_to_hub \
6 --output_dir "open-image-preferences-v1-sdxl-lora" \
7 --image_column "chosen" \
8 --caption_column "prompt" \
9 --mixed_precision="bf16" \
10 --resolution=1024 \
11 --train_batch_size=1 \
12 --repeats=1 \
13 --report_to="wandb"\
14 --gradient_accumulation_steps=1 \
15 --gradient_checkpointing \
16 --learning_rate=1.0 \
17 --text_encoder_lr=1.0 \
18 --optimizer="prodigy"\
19 --lr_scheduler="constant" \
20 --lr_warmup_steps=0 \
21 --rank=8 \
22 --checkpointing_steps=2000 \
23 --seed="0"