ZhangxinruBIT commited on
Commit
7626c12
·
verified ·
1 Parent(s): 47e0583

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ image_0.png filter=lfs diff=lfs merge=lfs -text
37
+ image_1.png filter=lfs diff=lfs merge=lfs -text
38
+ image_2.png filter=lfs diff=lfs merge=lfs -text
39
+ image_3.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stable-diffusion-3-medium-diffusers
3
+ library_name: diffusers
4
+ license: openrail++
5
+ tags:
6
+ - text-to-image
7
+ - diffusers-training
8
+ - diffusers
9
+ - lora
10
+ - sd3
11
+ - sd3-diffusers
12
+ - template:sd-lora
13
+ instance_prompt: a photo of sks dog
14
+ widget:
15
+ - text: A photo of sks dog in a bucket
16
+ output:
17
+ url: image_0.png
18
+ - text: A photo of sks dog in a bucket
19
+ output:
20
+ url: image_1.png
21
+ - text: A photo of sks dog in a bucket
22
+ output:
23
+ url: image_2.png
24
+ - text: A photo of sks dog in a bucket
25
+ output:
26
+ url: image_3.png
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+
33
+ # SD3 DreamBooth LoRA - ZhangxinruBIT/trained-sd3-lora
34
+
35
+ <Gallery />
36
+
37
+ ## Model description
38
+
39
+ These are ZhangxinruBIT/trained-sd3-lora DreamBooth LoRA weights for stabilityai/stable-diffusion-3-medium-diffusers.
40
+
41
+ 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).
42
+
43
+ Was LoRA for the text encoder enabled? False.
44
+
45
+ ## Trigger words
46
+
47
+ You should use `a photo of sks dog` to trigger the image generation.
48
+
49
+ ## Download model
50
+
51
+ [Download the *.safetensors LoRA](ZhangxinruBIT/trained-sd3-lora/tree/main) in the Files & versions tab.
52
+
53
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
54
+
55
+ ```py
56
+ from diffusers import AutoPipelineForText2Image
57
+ import torch
58
+ pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-3-medium-diffusers', torch_dtype=torch.float16).to('cuda')
59
+ pipeline.load_lora_weights('ZhangxinruBIT/trained-sd3-lora', weight_name='pytorch_lora_weights.safetensors')
60
+ image = pipeline('A photo of sks dog in a bucket').images[0]
61
+ ```
62
+
63
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
64
+
65
+ - **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/ZhangxinruBIT/trained-sd3-lora/blob/main/diffusers_lora_weights.safetensors)**.
66
+ - Rename it and place it on your `models/Lora` folder.
67
+ - 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/).
68
+
69
+ 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)
70
+
71
+ ## License
72
+
73
+ Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE).
74
+
75
+
76
+ ## Intended uses & limitations
77
+
78
+ #### How to use
79
+
80
+ ```python
81
+ # TODO: add an example code snippet for running this diffusion pipeline
82
+ ```
83
+
84
+ #### Limitations and bias
85
+
86
+ [TODO: provide examples of latent issues and potential remediations]
87
+
88
+ ## Training details
89
+
90
+ [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:ac8a5a4fc1762bdf70613ea8f444772975c204726b952171ab044600a4241f52
3
+ size 4879674
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bf4ee9dbdfdf168204b3820d3fb737bbf5aab58de7efb69986d999ccf3f11e2
3
+ size 2383648
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1194fb9faf86040487cbf779a0bc4ea36fe8c44809c55d5a626933ce65e107d
3
+ size 14344
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68d7b85c46d195e3cd6e587d94878d77f315e0a073acfab811251f39fbe891fc
3
+ size 1000
image_0.png ADDED

Git LFS Details

  • SHA256: b3fc4203fdf8c16d1e71aea5b9875450285adac4ac520700a3e8e5a71ac5d9d0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
image_1.png ADDED

Git LFS Details

  • SHA256: 69cb3ad16131cd1bd4e90d22379632fce68c879b97469cd1b27b6691f33603cc
  • Pointer size: 132 Bytes
  • Size of remote file: 1.37 MB
image_2.png ADDED

Git LFS Details

  • SHA256: 49ad3733f522037629e8f280efecbae01df4e5f6405741660f52454fd9fbff9e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.3 MB
image_3.png ADDED

Git LFS Details

  • SHA256: 2b20869f6b6e5949f221ce0c1bb21fb5776ac830f6695dee8fba2a19f724768a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.83 MB
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3fa6be63a605bc80f4f44be6aed44c4b89eb3aa2ab2bb7c6c4300d94305f329
3
+ size 4742848