javeriahassan commited on
Commit
bd6a899
·
verified ·
1 Parent(s): 848aae8

End of training

Browse files
.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: '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.'
13
+ output:
14
+ url:
15
+ "image_0.png"
16
+
17
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
18
+ instance_prompt: 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.
19
+ license: openrail++
20
+ ---
21
+
22
+ # SDXL LoRA DreamBooth - javeriahassan/socialmedia-std-xl-base-1-0
23
+
24
+ <Gallery />
25
+
26
+ ## Model description
27
+
28
+ ### These are javeriahassan/socialmedia-std-xl-base-1-0 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.safetensors` here 💾](/javeriahassan/socialmedia-std-xl-base-1-0/blob/main/socialmedia-std-xl-base-1-0.safetensors)**.
35
+ - Place it on your `models/Lora` folder.
36
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:socialmedia-std-xl-base-1-0: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_emb.safetensors` here 💾](/javeriahassan/socialmedia-std-xl-base-1-0/blob/main/socialmedia-std-xl-base-1-0_emb.safetensors)**.
38
+ - Place it on it on your `embeddings` folder
39
+ - Use it by adding `socialmedia-std-xl-base-1-0_emb` to your prompt. For example, `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.`
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', weight_name='pytorch_lora_weights.safetensors')
53
+ embedding_path = hf_hub_download(repo_id='javeriahassan/socialmedia-std-xl-base-1-0', filename='socialmedia-std-xl-base-1-0_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('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.').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/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-1000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb7bd1742168c58e33e1f181309eb283e2a2b31c6517e1e69525dfdefede5934
3
+ size 1949355034
checkpoint-1000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a149b12cdf5c27c3b8ec1aee7e552f89dc06abc3b7166256208717bd62ebec4f
3
+ size 93066424
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e668f905ca615114b9d727030d94983342e4de3b3d8dc488d8e5b49d24c577d8
3
+ size 14344
checkpoint-1000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7babe47bfb751f6436f46e92a0639bc1ec9db889e510abc5afa501cfc0de4add
3
+ size 1064
checkpoint-200/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4d7a578dbeee56e77097714d68d226c5a6339422bcac4d49e0b71b5e46d1326
3
+ size 1949353882
checkpoint-200/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b407b9651e16483e5cd33e5efcc1e58f2ed6159d13956ac9d86c103fac6f6e54
3
+ size 93066424
checkpoint-200/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd343e4c53e079cc60706eb137eefa913dd8b23f82b924325a271e960e94623d
3
+ size 14344
checkpoint-200/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1360bed0106ea1376eea93599f7c3c7b4889e5ba1dca9bc433981b7ee391cc4e
3
+ size 1064
checkpoint-400/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c040a7003bd9638aa8583bc131a52a401559d4b9d2b84a9acae9d8c5af54e03
3
+ size 1949355034
checkpoint-400/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c2607b28f6e57ef5d0c4855183a7dc929b319583739ba11ecd23fd72140ac0e
3
+ size 93066424
checkpoint-400/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58a4c447b76de6f370af832b38b6162cdd2bd539357a833eb646e2fdc4155a9e
3
+ size 14344
checkpoint-400/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45437edd7235e60c1fa9c88203ae8bf23e3524843ca4d9e70ce1fa859fe90f3c
3
+ size 1064
checkpoint-600/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5d52e7a15f1534cc6ed8406e930e982adb52b3711abaa126d8fd936251ba017
3
+ size 1949355034
checkpoint-600/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3942355b8fe8d6c444b4775beea4448fb9fb0fd1719b615a26d344042577a26
3
+ size 93066424
checkpoint-600/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22b5d693492abe2c72b27f8a53735f1cd6ae7a83d8fe008e630e006d15fd1216
3
+ size 14344
checkpoint-600/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1afacceaf723433abd192973717404adb1005ee2db7e03769d54ca2bd1e2af45
3
+ size 1064
checkpoint-800/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bec19a282ebccaf365d1d7382eb5edcd5ca2d5013b4c2fde6a7a1c4ac1510cce
3
+ size 1949355034
checkpoint-800/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebdb21a818cf0961f6e0db695871039d1789eec09a5c72e2eb52d6a1c0bfb5a0
3
+ size 93066424
checkpoint-800/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a355ea7ee046dc332e31eb116fd1f213d88a3b1ad3571f68141d455a319d9e17
3
+ size 14344
checkpoint-800/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21b295d17638794f481b221a407d27a1d404ce877aaf1dddbb52c8199dd8a1ff
3
+ size 1064
image_0.png ADDED

Git LFS Details

  • SHA256: 91ce0c8656d9fc813e60be94918591549df594dca339b9f97c3b0314ff458542
  • Pointer size: 132 Bytes
  • Size of remote file: 1.15 MB
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b5c7f9e3ad2d0a9e5e6f8f388fd70492aba9be9135b700a5070c9f3a9fcb7b7
3
+ size 185963768
socialmedia-std-xl-base-1-0.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8782e22592dc94c3ca8af5b3fa8d490c3f3c7f00e6a055f91df2ddeb1dfc9f7a
3
+ size 186046568
socialmedia-std-xl-base-1-0_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19f7c04d3dde14fd211f1be09a71c64b6dcf05ab7885817b51a1c8339a183ae0
3
+ size 16536