xiaolingao
commited on
Commit
•
a604fd7
1
Parent(s):
5793c18
End of training
Browse files- .gitattributes +4 -0
- README.md +90 -0
- checkpoint-500/optimizer.bin +3 -0
- checkpoint-500/pytorch_lora_weights.safetensors +3 -0
- checkpoint-500/random_states_0.pkl +3 -0
- checkpoint-500/scaler.pt +3 -0
- checkpoint-500/scheduler.bin +3 -0
- image_0.png +3 -0
- image_1.png +3 -0
- image_2.png +3 -0
- image_3.png +3 -0
- pytorch_lora_weights.safetensors +3 -0
.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 - xiaolingao/trained-sd3-lora
|
34 |
+
|
35 |
+
<Gallery />
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
These are xiaolingao/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](xiaolingao/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('xiaolingao/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 💾](/xiaolingao/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:b56236eaf8f75e799d4dfc22d887f7447e3fba6a8f4605e7707abee6f99fc27c
|
3 |
+
size 9598266
|
checkpoint-500/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:decb48efb804b5a977500e89d10a4ebcfd5f02770a59ea1d6f3f185ca9124440
|
3 |
+
size 4742848
|
checkpoint-500/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4740afab9386e7c74688f78e21975eb021dfd3c6fa0db8f477328d4adb714184
|
3 |
+
size 14540
|
checkpoint-500/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18b984273ea2d45b7ffb1d047bb359d93111e41fcad70d16a1b453fd38f72636
|
3 |
+
size 988
|
checkpoint-500/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d16ae9dedf4c45ceadc467593037d83423677715e75ab402a9f44aa81de9b84
|
3 |
+
size 1000
|
image_0.png
ADDED
Git LFS Details
|
image_1.png
ADDED
Git LFS Details
|
image_2.png
ADDED
Git LFS Details
|
image_3.png
ADDED
Git LFS Details
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:decb48efb804b5a977500e89d10a4ebcfd5f02770a59ea1d6f3f185ca9124440
|
3 |
+
size 4742848
|