You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/dreambooth/train_dreambooth_lora_sd3.py
+23-5Lines changed: 23 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -101,19 +101,37 @@ def save_model_card(
101
101
102
102
## Model description
103
103
104
-
These are {repo_id} DreamBooth weights for {base_model}.
104
+
These are {repo_id} DreamBooth LoRA weights for {base_model}.
105
105
106
-
The weights were trained using [DreamBooth](https://dreambooth.github.io/).
106
+
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).
107
107
108
-
LoRA for the text encoder was enabled:{train_text_encoder}.
108
+
Was LoRA for the text encoder enabled?{train_text_encoder}.
109
109
110
110
## Trigger words
111
111
112
-
You should use {instance_prompt} to trigger the image generation.
112
+
You should use `{instance_prompt}` to trigger the image generation.
113
113
114
114
## Download model
115
115
116
-
[Download]({repo_id}/tree/main) them in the Files & versions tab.
116
+
[Download the *.safetensors LoRA]({repo_id}/tree/main) in the Files & versions tab.
117
+
118
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
129
+
130
+
- **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/{repo_id}/blob/main/diffusers_lora_weights.safetensors)**.
131
+
- Rename it and place it on your `models/Lora` folder.
132
+
- 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/).
133
+
134
+
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)
Copy file name to clipboardExpand all lines: examples/dreambooth/train_dreambooth_sd3.py
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -95,17 +95,22 @@ def save_model_card(
95
95
96
96
These are {repo_id} DreamBooth weights for {base_model}.
97
97
98
-
The weights were trained using [DreamBooth](https://dreambooth.github.io/).
98
+
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).
99
99
100
-
Text encoder was fine-tuned:{train_text_encoder}.
100
+
Was the text encoder fine-tuned?{train_text_encoder}.
101
101
102
102
## Trigger words
103
103
104
-
You should use {instance_prompt} to trigger the image generation.
104
+
You should use `{instance_prompt}` to trigger the image generation.
105
105
106
-
## Download model
106
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
107
107
108
-
[Download]({repo_id}/tree/main) them in the Files & versions tab.
0 commit comments