MoritzAMLLaura commited on
Commit
a80f387
·
verified ·
1 Parent(s): 4036d14

End of training

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stable-diffusion-3-medium-diffusers
3
+ library_name: diffusers
4
+ license: other
5
+ instance_prompt: a photo of sks dog
6
+ widget: []
7
+ tags:
8
+ - text-to-image
9
+ - diffusers-training
10
+ - diffusers
11
+ - lora
12
+ - template:sd-lora
13
+ - sd3
14
+ - sd3-diffusers
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+
21
+ # SD3 DreamBooth LoRA - MoritzAMLLaura/trained-sd3-lora
22
+
23
+ <Gallery />
24
+
25
+ ## Model description
26
+
27
+ These are MoritzAMLLaura/trained-sd3-lora DreamBooth LoRA weights for stabilityai/stable-diffusion-3-medium-diffusers.
28
+
29
+ The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [SD3 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_sd3.md).
30
+
31
+ Was LoRA for the text encoder enabled? False.
32
+
33
+ ## Trigger words
34
+
35
+ You should use `a photo of sks dog` to trigger the image generation.
36
+
37
+ ## Download model
38
+
39
+ [Download the *.safetensors LoRA](MoritzAMLLaura/trained-sd3-lora/tree/main) in the Files & versions tab.
40
+
41
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
42
+
43
+ ```py
44
+ from diffusers import AutoPipelineForText2Image
45
+ import torch
46
+ pipeline = AutoPipelineForText2Image.from_pretrained(stabilityai/stable-diffusion-3-medium-diffusers, torch_dtype=torch.float16).to('cuda')
47
+ pipeline.load_lora_weights('MoritzAMLLaura/trained-sd3-lora', weight_name='pytorch_lora_weights.safetensors')
48
+ image = pipeline('a photo of sks dog').images[0]
49
+ ```
50
+
51
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
52
+
53
+ - **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/MoritzAMLLaura/trained-sd3-lora/blob/main/diffusers_lora_weights.safetensors)**.
54
+ - Rename it and place it on your `models/Lora` folder.
55
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:your_new_name:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
56
+
57
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
58
+
59
+ ## License
60
+
61
+ Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE.md).
62
+
63
+
64
+ ## Intended uses & limitations
65
+
66
+ #### How to use
67
+
68
+ ```python
69
+ # TODO: add an example code snippet for running this diffusion pipeline
70
+ ```
71
+
72
+ #### Limitations and bias
73
+
74
+ [TODO: provide examples of latent issues and potential remediations]
75
+
76
+ ## Training details
77
+
78
+ [TODO: describe the data used to train the model]
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d0eeb942dddf89da1f72330053abe18c2258006eb17daaee91990edf887476d
3
+ size 19097181
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5335a445345aeb5856a52b09f76f424e089eee1b492013ea94424136b9fc363a
3
+ size 9437288
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13e84e8fa5cf4c607c89f9572516fb777c74eaeacc02e9542132af492d55dde8
3
+ size 14757
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f77569c2e850b04af982cc8c1389f1430851448915c593b69e5da36ce05b71d7
3
+ size 1383
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca1e402091e94f44ec9d0ef59a6da5e7b5c5c224d90d74f8711e1a56cd486d3b
3
+ size 1401
logs/dreambooth-sd3-lora/1748698733.3680773/events.out.tfevents.1748698733.k019-ws05.151356.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89cbc6397839d93b8f4d372779b319947b3ad52714bbf7501d8f0181bd6bcdda
3
+ size 3306
logs/dreambooth-sd3-lora/1748698733.3690135/hparams.yml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: 0.001
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ cache_latents: false
9
+ caption_column: null
10
+ center_crop: false
11
+ checkpointing_steps: 500
12
+ checkpoints_total_limit: null
13
+ class_data_dir: null
14
+ class_prompt: null
15
+ dataloader_num_workers: 0
16
+ dataset_config_name: null
17
+ dataset_name: null
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: false
20
+ hub_model_id: null
21
+ hub_token: null
22
+ image_column: image
23
+ instance_data_dir: dog
24
+ instance_prompt: a photo of sks dog
25
+ learning_rate: 0.0004
26
+ local_rank: -1
27
+ logging_dir: logs
28
+ logit_mean: 0.0
29
+ logit_std: 1.0
30
+ lora_blocks: null
31
+ lora_dropout: 0.0
32
+ lora_layers: null
33
+ lr_num_cycles: 1
34
+ lr_power: 1.0
35
+ lr_scheduler: constant
36
+ lr_warmup_steps: 0
37
+ max_grad_norm: 1.0
38
+ max_sequence_length: 77
39
+ max_train_steps: 500
40
+ mixed_precision: fp16
41
+ mode_scale: 1.29
42
+ num_class_images: 100
43
+ num_train_epochs: 250
44
+ num_validation_images: 4
45
+ optimizer: AdamW
46
+ output_dir: trained-sd3-lora
47
+ precondition_outputs: 1
48
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3-medium-diffusers
49
+ prior_generation_precision: null
50
+ prior_loss_weight: 1.0
51
+ prodigy_beta3: null
52
+ prodigy_decouple: true
53
+ prodigy_safeguard_warmup: true
54
+ prodigy_use_bias_correction: true
55
+ push_to_hub: false
56
+ random_flip: false
57
+ rank: 4
58
+ repeats: 1
59
+ report_to: tensorboard
60
+ resolution: 512
61
+ resume_from_checkpoint: null
62
+ revision: null
63
+ sample_batch_size: 4
64
+ scale_lr: false
65
+ seed: 0
66
+ text_encoder_lr: 5.0e-06
67
+ train_batch_size: 1
68
+ train_text_encoder: false
69
+ upcast_before_saving: false
70
+ use_8bit_adam: false
71
+ validation_epochs: 50
72
+ validation_prompt: null
73
+ variant: null
74
+ weighting_scheme: logit_normal
75
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/events.out.tfevents.1748698733.k019-ws05.151356.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc364192131dd1db7c84df9ff1da1d9da55ee9a1f574a42dc36ebf65562027d8
3
+ size 104438
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43bb0a3568e723230f161151f810800b3089a16536124e360e11a8b7feb1e28c
3
+ size 4743176