poojan1202
commited on
Commit
•
ac10387
1
Parent(s):
b0a4b7e
End of training
Browse files- README.md +78 -0
- pytorch_lora_weights.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: jewellery of various kind
|
14 |
+
widget: []
|
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 - poojan1202/trained-sd3_text20
|
22 |
+
|
23 |
+
<Gallery />
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
These are poojan1202/trained-sd3_text20 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 `jewellery of various kind` to trigger the image generation.
|
36 |
+
|
37 |
+
## Download model
|
38 |
+
|
39 |
+
[Download the *.safetensors LoRA](poojan1202/trained-sd3_text20/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('poojan1202/trained-sd3_text20', weight_name='pytorch_lora_weights.safetensors')
|
48 |
+
image = pipeline('jewellery of various kind').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 💾](/poojan1202/trained-sd3_text20/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).
|
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]
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:390e0bf942106dd3ff02df731d7d265f96b2ede3f8ab6d0fd1e1fc9ab20544dc
|
3 |
+
size 4742848
|