End of training
Browse files- .gitattributes +1 -0
- README.md +82 -0
- checkpoint-100/optimizer.bin +3 -0
- checkpoint-100/pytorch_lora_weights.safetensors +3 -0
- checkpoint-100/random_states_0.pkl +3 -0
- checkpoint-100/scheduler.bin +3 -0
- checkpoint-50/optimizer.bin +3 -0
- checkpoint-50/pytorch_lora_weights.safetensors +3 -0
- checkpoint-50/random_states_0.pkl +3 -0
- checkpoint-50/scheduler.bin +3 -0
- image_0.png +3 -0
- pytorch_lora_weights.safetensors +3 -0
- socialmedia-std-xl-base-1-0-long.safetensors +3 -0
- socialmedia-std-xl-base-1-0-long_emb.safetensors +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
image_0.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- stable-diffusion-xl
|
4 |
+
- stable-diffusion-xl-diffusers
|
5 |
+
- diffusers-training
|
6 |
+
- text-to-image
|
7 |
+
- diffusers
|
8 |
+
- lora
|
9 |
+
- template:sd-lora
|
10 |
+
widget:
|
11 |
+
|
12 |
+
- text: 'Create a promotional image for a SHOE SALE with bold black text near the bottom on a white and gray background. Include a red 50% OFF badge, a SHOP NOW button, sneakers, socks, and shoeboxes overlaying a gray diagonal strip. The design should have red cursive text and a liceria & co. logo in the top-left corner.'
|
13 |
+
output:
|
14 |
+
url:
|
15 |
+
"image_0.png"
|
16 |
+
|
17 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
18 |
+
instance_prompt: Design a promotional poster for AI chatbot integration services. The image should feature the text WARNER & SPENCER with a chatbot icon. Include bold text for AI CHATBOT and Integration Services, service details with checkmarks, and a Contact Us button on the left. A friendly chatbot graphic should be placed on the right side.
|
19 |
+
license: openrail++
|
20 |
+
---
|
21 |
+
|
22 |
+
# SDXL LoRA DreamBooth - javeriahassan/socialmedia-std-xl-base-1-0-long
|
23 |
+
|
24 |
+
<Gallery />
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
### These are javeriahassan/socialmedia-std-xl-base-1-0-long LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
|
29 |
+
|
30 |
+
## Download model
|
31 |
+
|
32 |
+
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
|
33 |
+
|
34 |
+
- **LoRA**: download **[`socialmedia-std-xl-base-1-0-long.safetensors` here 💾](/javeriahassan/socialmedia-std-xl-base-1-0-long/blob/main/socialmedia-std-xl-base-1-0-long.safetensors)**.
|
35 |
+
- Place it on your `models/Lora` folder.
|
36 |
+
- On AUTOMATIC1111, load the LoRA by adding `<lora:socialmedia-std-xl-base-1-0-long:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
|
37 |
+
- *Embeddings*: download **[`socialmedia-std-xl-base-1-0-long_emb.safetensors` here 💾](/javeriahassan/socialmedia-std-xl-base-1-0-long/blob/main/socialmedia-std-xl-base-1-0-long_emb.safetensors)**.
|
38 |
+
- Place it on it on your `embeddings` folder
|
39 |
+
- Use it by adding `socialmedia-std-xl-base-1-0-long_emb` to your prompt. For example, `Design a promotional poster for AI chatbot integration services. The image should feature the text WARNER & SPENCER with a chatbot icon. Include bold text for AI CHATBOT and Integration Services, service details with checkmarks, and a Contact Us button on the left. A friendly chatbot graphic should be placed on the right side.`
|
40 |
+
(you need both the LoRA and the embeddings as they were trained together for this LoRA)
|
41 |
+
|
42 |
+
|
43 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
44 |
+
|
45 |
+
```py
|
46 |
+
from diffusers import AutoPipelineForText2Image
|
47 |
+
import torch
|
48 |
+
from huggingface_hub import hf_hub_download
|
49 |
+
from safetensors.torch import load_file
|
50 |
+
|
51 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
|
52 |
+
pipeline.load_lora_weights('javeriahassan/socialmedia-std-xl-base-1-0-long', weight_name='pytorch_lora_weights.safetensors')
|
53 |
+
embedding_path = hf_hub_download(repo_id='javeriahassan/socialmedia-std-xl-base-1-0-long', filename='socialmedia-std-xl-base-1-0-long_emb.safetensors', repo_type="model")
|
54 |
+
state_dict = load_file(embedding_path)
|
55 |
+
pipeline.load_textual_inversion(state_dict["clip_l"], token=[], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
|
56 |
+
pipeline.load_textual_inversion(state_dict["clip_g"], token=[], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
|
57 |
+
|
58 |
+
image = pipeline('Create a promotional image for a SHOE SALE with bold black text near the bottom on a white and gray background. Include a red 50% OFF badge, a SHOP NOW button, sneakers, socks, and shoeboxes overlaying a gray diagonal strip. The design should have red cursive text and a liceria & co. logo in the top-left corner.').images[0]
|
59 |
+
```
|
60 |
+
|
61 |
+
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)
|
62 |
+
|
63 |
+
## Trigger words
|
64 |
+
|
65 |
+
To trigger image generation of trained concept(or concepts) replace each concept identifier in you prompt with the new inserted tokens:
|
66 |
+
|
67 |
+
to trigger concept `TOK` → use `<s0><s1>` in your prompt
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
## Details
|
72 |
+
All [Files & versions](/javeriahassan/socialmedia-std-xl-base-1-0-long/tree/main).
|
73 |
+
|
74 |
+
The weights were trained using [🧨 diffusers Advanced Dreambooth Training Script](https://github.com/huggingface/diffusers/blob/main/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py).
|
75 |
+
|
76 |
+
LoRA for the text encoder was enabled. False.
|
77 |
+
|
78 |
+
Pivotal tuning was enabled: True.
|
79 |
+
|
80 |
+
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
|
81 |
+
|
82 |
+
|
checkpoint-100/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:114e9cf651066eb826b880304324a0ac23d59492cf98d7219c380213f6d06eef
|
3 |
+
size 1949353882
|
checkpoint-100/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0bcbbcb73adddb57ec1d902acfa8088a08424df7fbdc4b20d9e76125729e532
|
3 |
+
size 93066424
|
checkpoint-100/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ced8d8ad11d05c27c806b922a0827121612ddd624fab5c5a09fe5cbc7435060e
|
3 |
+
size 14344
|
checkpoint-100/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:593fa0f51a85456f506c485fc8559d59b8766eb88af0b8fc2ec5b322d16e9b2a
|
3 |
+
size 1064
|
checkpoint-50/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4726e693a719cb203c4359adf99926c3cea64ccc8ff9e7a352a6bf3af5792bf8
|
3 |
+
size 1949353882
|
checkpoint-50/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9eacb3cb6a1973fe357bdcbb3a28422e024b7f4b96fe1662871eec047e20ae0d
|
3 |
+
size 93066424
|
checkpoint-50/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a4311a0aec341a8fdb1de56338c6b4369a809d0095e3afd14765f8ca00312f1
|
3 |
+
size 14344
|
checkpoint-50/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb97cc5e32043385825ac3ee0e791cea62e413bb45fd920f1a8fc5f034b7f9c5
|
3 |
+
size 1064
|
image_0.png
ADDED
![]() |
Git LFS Details
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b7ff3db578365069478eceeb2dbe984b52900f87009515d213b1f4eb735702c
|
3 |
+
size 185963768
|
socialmedia-std-xl-base-1-0-long.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a255b9891542f5a89a0a7876f675526d4b46c96db4a78545aabfc0fff45fe745
|
3 |
+
size 186046568
|
socialmedia-std-xl-base-1-0-long_emb.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2440126b4bb5dc26dc77e787a13c8385f1029d360990ececab0c1c7347fff842
|
3 |
+
size 16536
|