xin0920 commited on
Commit
bc8fd5b
·
verified ·
1 Parent(s): 99d478d

End of training

Browse files
Files changed (2) hide show
  1. README.md +77 -0
  2. pytorch_sae_weights.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stable-diffusion-3-medium-diffusers
3
+ library_name: diffusers
4
+ license: other
5
+ widget: []
6
+ tags:
7
+ - text-to-image
8
+ - diffusers-training
9
+ - diffusers
10
+ - sae
11
+ - template:sd-sae
12
+ - sd3
13
+ - sd3-diffusers
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+
20
+ # SD3 DreamBooth LoRA - xin0920/trained-sd3-sae
21
+
22
+ <Gallery />
23
+
24
+ ## Model description
25
+
26
+ These are xin0920/trained-sd3-sae DreamBooth LoRA weights for stabilityai/stable-diffusion-3-medium-diffusers.
27
+
28
+ 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).
29
+
30
+ Was LoRA for the text encoder enabled? True.
31
+
32
+ ## Trigger words
33
+
34
+ You should use `None` to trigger the image generation.
35
+
36
+ ## Download model
37
+
38
+ [Download the *.safetensors LoRA](xin0920/trained-sd3-sae/tree/main) in the Files & versions tab.
39
+
40
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
41
+
42
+ ```py
43
+ from diffusers import AutoPipelineForText2Image
44
+ import torch
45
+ pipeline = AutoPipelineForText2Image.from_pretrained(stabilityai/stable-diffusion-3-medium-diffusers, torch_dtype=torch.float16).to('cuda')
46
+ pipeline.load_lora_weights('xin0920/trained-sd3-sae', weight_name='pytorch_lora_weights.safetensors')
47
+ image = pipeline('None').images[0]
48
+ ```
49
+
50
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
51
+
52
+ - **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/xin0920/trained-sd3-sae/blob/main/diffusers_lora_weights.safetensors)**.
53
+ - Rename it and place it on your `models/Lora` folder.
54
+ - 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/).
55
+
56
+ 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)
57
+
58
+ ## License
59
+
60
+ Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE.md).
61
+
62
+
63
+ ## Intended uses & limitations
64
+
65
+ #### How to use
66
+
67
+ ```python
68
+ # TODO: add an example code snippet for running this diffusion pipeline
69
+ ```
70
+
71
+ #### Limitations and bias
72
+
73
+ [TODO: provide examples of latent issues and potential remediations]
74
+
75
+ ## Training details
76
+
77
+ [TODO: describe the data used to train the model]
pytorch_sae_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ea6a00cc78750ce9148ee0ed0d216940794bb3456e8b15a361f21b05a21fc14
3
+ size 266911636