MohamedAcadys commited on
Commit
940050f
1 Parent(s): 733686d

End of training

Browse files
Files changed (2) hide show
  1. README.md +78 -0
  2. 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: Dessin humoristique caricatural en noir et blanc
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 - MohamedAcadys/trained-sd3-lora
22
+
23
+ <Gallery />
24
+
25
+ ## Model description
26
+
27
+ These are MohamedAcadys/trained-sd3-lora 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 `Dessin humoristique caricatural en noir et blanc` to trigger the image generation.
36
+
37
+ ## Download model
38
+
39
+ [Download the *.safetensors LoRA](MohamedAcadys/trained-sd3-lora/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('MohamedAcadys/trained-sd3-lora', weight_name='pytorch_lora_weights.safetensors')
48
+ image = pipeline('Dessin humoristique caricatural en noir et blanc').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 💾](/MohamedAcadys/trained-sd3-lora/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:c7fbbae129a6fbc3b032e158df8b641591eb8c4dbb28e574880cc912101b19b2
3
+ size 4742848