Update README.md
Browse files
README.md
CHANGED
@@ -11,50 +11,89 @@ tags:
|
|
11 |
- template:sd-lora
|
12 |
base_model: stabilityai/stable-diffusion-3-medium-diffusers
|
13 |
instance_prompt: panda drinking matcha, yarn art style
|
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 - linoyts/
|
22 |
|
23 |
<Gallery />
|
24 |
|
25 |
## Model description
|
26 |
|
27 |
-
These are linoyts/
|
28 |
|
29 |
-
The weights were trained
|
30 |
|
31 |
-
LoRA for the text encoder
|
32 |
|
33 |
## Trigger words
|
34 |
|
35 |
-
You should use
|
36 |
|
37 |
-
##
|
38 |
-
|
39 |
-
[Download](linoyts/yarn_art_sd3_lora_1200_te_batch_3/tree/main) them in the Files & versions tab.
|
40 |
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
-
|
44 |
|
|
|
|
|
|
|
45 |
|
46 |
-
|
47 |
|
48 |
-
#### How to use
|
49 |
|
50 |
-
|
51 |
-
# TODO: add an example code snippet for running this diffusion pipeline
|
52 |
-
```
|
53 |
|
54 |
-
|
55 |
|
56 |
-
|
57 |
|
58 |
-
|
59 |
|
60 |
-
[TODO: describe the data used to train the model]
|
|
|
11 |
- template:sd-lora
|
12 |
base_model: stabilityai/stable-diffusion-3-medium-diffusers
|
13 |
instance_prompt: panda drinking matcha, yarn art style
|
14 |
+
widget:
|
15 |
+
- text: birth of venus, Yarn art style
|
16 |
+
parameters:
|
17 |
+
negative_prompt: illustration, 2d, painting, digital
|
18 |
+
output:
|
19 |
+
url: >-
|
20 |
+
image (131).png
|
21 |
+
- text: a yarn art style version of Mona Lisa
|
22 |
+
parameters:
|
23 |
+
negative_prompt: illustration, 2d, painting, digital
|
24 |
+
output:
|
25 |
+
url: >-
|
26 |
+
image (132).png
|
27 |
+
- text: a yarn art style yoda
|
28 |
+
parameters:
|
29 |
+
negative_prompt: realistic, illustration, 2d, bad quality, blurry, bad anatomy
|
30 |
+
output:
|
31 |
+
url: >-
|
32 |
+
image (133).png
|
33 |
+
- text: starry night, Yarn art style
|
34 |
+
parameters:
|
35 |
+
negative_prompt: illustration, 2d, bad quality, blurry
|
36 |
+
output:
|
37 |
+
url: >-
|
38 |
+
image (134).png
|
39 |
+
- text: the beatles, yarn art style
|
40 |
+
parameters:
|
41 |
+
negative_prompt: illustration, 2d, bad quality, blurry, bad anatomy
|
42 |
+
output:
|
43 |
+
url: >-
|
44 |
+
image (135).png
|
45 |
+
- text: a yarn art style version of the scream by Munch
|
46 |
+
parameters:
|
47 |
+
negative_prompt: illustration, 2d, bad quality
|
48 |
+
output:
|
49 |
+
url: >-
|
50 |
+
image (136).png
|
51 |
---
|
52 |
|
53 |
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
54 |
should probably proofread and complete it, then remove this comment. -->
|
55 |
|
56 |
|
57 |
+
# SD3 DreamBooth LoRA - linoyts/Yarn_art_SD3_LoRA
|
58 |
|
59 |
<Gallery />
|
60 |
|
61 |
## Model description
|
62 |
|
63 |
+
These are linoyts/Yarn_art_SD3_LoRA DreamBooth weights for stabilityai/stable-diffusion-3-medium-diffusers.
|
64 |
|
65 |
+
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).
|
66 |
|
67 |
+
Was LoRA for the text encoder enabled? True.
|
68 |
|
69 |
## Trigger words
|
70 |
|
71 |
+
You should use yarn art style to trigger the image generation.
|
72 |
|
73 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
|
|
|
|
74 |
|
75 |
+
```py
|
76 |
+
from diffusers import AutoPipelineForText2Image
|
77 |
+
import torch
|
78 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-3-medium-diffusers', torch_dtype=torch.float16).to('cuda')
|
79 |
+
pipeline.load_lora_weights('linoyts/Yarn_art_SD3_LoRA', weight_name='pytorch_lora_weights.safetensors')
|
80 |
+
image = pipeline('darth vader, yarn art style').images[0]
|
81 |
+
```
|
82 |
|
83 |
+
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
|
84 |
|
85 |
+
- **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/{repo_id}/blob/main/diffusers_lora_weights.safetensors)**.
|
86 |
+
- Rename it and place it on your `models/Lora` folder.
|
87 |
+
- 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/).
|
88 |
|
89 |
+
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)
|
90 |
|
|
|
91 |
|
92 |
+
## Download model
|
|
|
|
|
93 |
|
94 |
+
[Download the *.safetensors LoRA]({repo_id}/tree/main) in the Files & versions tab.
|
95 |
|
96 |
+
## License
|
97 |
|
98 |
+
Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE).
|
99 |
|
|