backnotprop commited on
Commit
4367422
1 Parent(s): 9e169fb

End of training

Browse files
Files changed (44) hide show
  1. .gitattributes +4 -0
  2. README.md +95 -0
  3. checkpoint-1000/np_cr_model6_emb.safetensors +3 -0
  4. checkpoint-1000/optimizer.bin +3 -0
  5. checkpoint-1000/pytorch_lora_weights.safetensors +3 -0
  6. checkpoint-1000/random_states_0.pkl +3 -0
  7. checkpoint-1000/scheduler.bin +3 -0
  8. checkpoint-1500/np_cr_model6_emb.safetensors +3 -0
  9. checkpoint-1500/optimizer.bin +3 -0
  10. checkpoint-1500/pytorch_lora_weights.safetensors +3 -0
  11. checkpoint-1500/random_states_0.pkl +3 -0
  12. checkpoint-1500/scheduler.bin +3 -0
  13. checkpoint-2000/np_cr_model6_emb.safetensors +3 -0
  14. checkpoint-2000/optimizer.bin +3 -0
  15. checkpoint-2000/pytorch_lora_weights.safetensors +3 -0
  16. checkpoint-2000/random_states_0.pkl +3 -0
  17. checkpoint-2000/scheduler.bin +3 -0
  18. checkpoint-2500/np_cr_model6_emb.safetensors +3 -0
  19. checkpoint-2500/optimizer.bin +3 -0
  20. checkpoint-2500/pytorch_lora_weights.safetensors +3 -0
  21. checkpoint-2500/random_states_0.pkl +3 -0
  22. checkpoint-2500/scheduler.bin +3 -0
  23. checkpoint-3000/np_cr_model6_emb.safetensors +3 -0
  24. checkpoint-3000/optimizer.bin +3 -0
  25. checkpoint-3000/pytorch_lora_weights.safetensors +3 -0
  26. checkpoint-3000/random_states_0.pkl +3 -0
  27. checkpoint-3000/scheduler.bin +3 -0
  28. checkpoint-3500/np_cr_model6_emb.safetensors +3 -0
  29. checkpoint-3500/optimizer.bin +3 -0
  30. checkpoint-3500/pytorch_lora_weights.safetensors +3 -0
  31. checkpoint-3500/random_states_0.pkl +3 -0
  32. checkpoint-3500/scheduler.bin +3 -0
  33. checkpoint-500/np_cr_model6_emb.safetensors +3 -0
  34. checkpoint-500/optimizer.bin +3 -0
  35. checkpoint-500/pytorch_lora_weights.safetensors +3 -0
  36. checkpoint-500/random_states_0.pkl +3 -0
  37. checkpoint-500/scheduler.bin +3 -0
  38. image_0.png +3 -0
  39. image_1.png +3 -0
  40. image_2.png +3 -0
  41. image_3.png +3 -0
  42. np_cr_model6.safetensors +3 -0
  43. np_cr_model6_emb.safetensors +3 -0
  44. pytorch_lora_weights.safetensors +3 -0
.gitattributes CHANGED
@@ -33,3 +33,7 @@ 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
37
+ image_1.png filter=lfs diff=lfs merge=lfs -text
38
+ image_2.png filter=lfs diff=lfs merge=lfs -text
39
+ image_3.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - stable-diffusion-xl
4
+ - stable-diffusion-xl-diffusers
5
+ - text-to-image
6
+ - diffusers
7
+ - lora
8
+ - template:sd-lora
9
+ widget:
10
+
11
+ - text: 'spiral wave flower,minimalism,white_background,abstract,photoshop generated abstract on a white background'
12
+ output:
13
+ url:
14
+ "image_0.png"
15
+
16
+ - text: 'spiral wave flower,minimalism,white_background,abstract,photoshop generated abstract on a white background'
17
+ output:
18
+ url:
19
+ "image_1.png"
20
+
21
+ - text: 'spiral wave flower,minimalism,white_background,abstract,photoshop generated abstract on a white background'
22
+ output:
23
+ url:
24
+ "image_2.png"
25
+
26
+ - text: 'spiral wave flower,minimalism,white_background,abstract,photoshop generated abstract on a white background'
27
+ output:
28
+ url:
29
+ "image_3.png"
30
+
31
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
32
+ instance_prompt: something,minimalism,white_background,abstract,photoshop generated abstract on a white background
33
+ license: openrail++
34
+ ---
35
+
36
+ # SDXL LoRA DreamBooth - backnotprop/np_cr_model6
37
+
38
+ <Gallery />
39
+
40
+ ## Model description
41
+
42
+ ### These are backnotprop/np_cr_model6 LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
43
+
44
+ ## Download model
45
+
46
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
47
+
48
+ - **LoRA**: download **[`np_cr_model6.safetensors` here 💾](/backnotprop/np_cr_model6/blob/main/np_cr_model6.safetensors)**.
49
+ - Place it on your `models/Lora` folder.
50
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:np_cr_model6:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
51
+ - *Embeddings*: download **[`np_cr_model6_emb.safetensors` here 💾](/backnotprop/np_cr_model6/blob/main/np_cr_model6_emb.safetensors)**.
52
+ - Place it on it on your `embeddings` folder
53
+ - Use it by adding `np_cr_model6_emb` to your prompt. For example, `something,minimalism,white_background,abstract,photoshop generated abstract on a white background`
54
+ (you need both the LoRA and the embeddings as they were trained together for this LoRA)
55
+
56
+
57
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
58
+
59
+ ```py
60
+ from diffusers import AutoPipelineForText2Image
61
+ import torch
62
+ from huggingface_hub import hf_hub_download
63
+ from safetensors.torch import load_file
64
+
65
+ pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
66
+ pipeline.load_lora_weights('backnotprop/np_cr_model6', weight_name='pytorch_lora_weights.safetensors')
67
+ embedding_path = hf_hub_download(repo_id='backnotprop/np_cr_model6', filename='np_cr_model6_emb.safetensors' repo_type="model")
68
+ state_dict = load_file(embedding_path)
69
+ pipeline.load_textual_inversion(state_dict["clip_l"], token=[], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
70
+ pipeline.load_textual_inversion(state_dict["clip_g"], token=[], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
71
+
72
+ image = pipeline('spiral wave flower,minimalism,white_background,abstract,photoshop generated abstract on a white background').images[0]
73
+ ```
74
+
75
+ 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)
76
+
77
+ ## Trigger words
78
+
79
+ To trigger image generation of trained concept(or concepts) replace each concept identifier in you prompt with the new inserted tokens:
80
+
81
+ to trigger concept `TOK` → use `<s0><s1>` in your prompt
82
+
83
+
84
+
85
+ ## Details
86
+ All [Files & versions](/backnotprop/np_cr_model6/tree/main).
87
+
88
+ 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).
89
+
90
+ LoRA for the text encoder was enabled. False.
91
+
92
+ Pivotal tuning was enabled: True.
93
+
94
+ Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
95
+
checkpoint-1000/np_cr_model6_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca6c787f1d060d3d2fca24b71915ebc1d72c7028f3b7ace0513479e51b0e7c62
3
+ size 16536
checkpoint-1000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46ea3a324070b7e19b4d0cccf8c6940e5c55d5eb873acaa6ba53a9cda82a25c9
3
+ size 4593115694
checkpoint-1000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:982939172d6624eefbbe60c32a878c2c5241efe8935850d1b5d1d290d3e08d16
3
+ size 743350672
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:251c7b4add4306f26ac2926983ebb368989bb3dea5b570f5d29b20410ca78731
3
+ size 14280
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-1500/np_cr_model6_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82b5c2cbe11dd1111429b569bfa442af13cabd4401a698cec089f94b723b2662
3
+ size 16536
checkpoint-1500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f599452f6aeb0e62d780bc2994c22c54b88cfda08646c29dc2285342babf13bc
3
+ size 4593115694
checkpoint-1500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:578bd1e2089f081c07dcb0e632116393002edb7300df9d5a032aef114268f8f6
3
+ size 743350672
checkpoint-1500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65cf2e9a02f1db27a6695c51103ce175cf81bab139e7525b8703be174858a4d6
3
+ size 14280
checkpoint-1500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bee77c7ca869cb7ea3b5646971c90ecb5e832b874dac6170088918e7effcfd4e
3
+ size 1064
checkpoint-2000/np_cr_model6_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdf415b716b535e9dd848dc247891317c367ee2bce5de5cb7bface258745a90d
3
+ size 16536
checkpoint-2000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28d8eeb543e92d3f0429c4201d186745de7bf28c9596948972486a89459d8a0e
3
+ size 4593115694
checkpoint-2000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c51098dbab399da3939d01957bf87cfd991ef41f32d9cc505e53825c84effb6
3
+ size 743350672
checkpoint-2000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dd91b618708cae1e1db5b73aab4fdf6399e4d7c8a2cc10d8aadbdc0b7cc7084
3
+ size 14280
checkpoint-2000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22dbf40978352fc68dc380c1bb84d309ac1fe1989fe5819be6b1e3309ded4c83
3
+ size 1064
checkpoint-2500/np_cr_model6_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abf80281f2a87ac7f387a7b668c5cfffb6cda8a0c1febec7550e6595de66498a
3
+ size 16536
checkpoint-2500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7291e9f00d6746f81bdf645018e7e40d106c9003067ac24a0be68dfc9c408dbd
3
+ size 4593115694
checkpoint-2500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc0fe2b3db4cada6a4984b36881ed36f657568b8e22646d4fca2a53449bed028
3
+ size 743350672
checkpoint-2500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:965d0380ad207fc283c2eb69749a04140bda38c426a7159c2ed706acd9250344
3
+ size 14280
checkpoint-2500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:556543d803f58882241b0379e4898aaa06722f7d3aaa6ecda7aa6bafcc3c9abd
3
+ size 1064
checkpoint-3000/np_cr_model6_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aee6866c59b53280b4f2a01f54a68a234fd4799e543e72cdefe42c9d888c1a9c
3
+ size 16536
checkpoint-3000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:554810844de91a6f626cf8ead4f4b5b97bcfcc8adb0c22af6d40946b5a7e7b5a
3
+ size 4593115694
checkpoint-3000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b92711fdb21d9958d7d065ab222dff26b65492d14eceb520a5ea2911384acaf0
3
+ size 743350672
checkpoint-3000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00e48ed31e320c86919c69b4d777e9e7e4b933031c45964b83a4622d523e0144
3
+ size 14280
checkpoint-3000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a4d74c713846175479050f182d0166591a982d4555799b351b72a43407784b3
3
+ size 1064
checkpoint-3500/np_cr_model6_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c6583a325a81d489c38f407a52f0a0f2b38a3967a7c65c33d704adb9bd0e2f4
3
+ size 16536
checkpoint-3500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ee2530eca5069d4c7f009d7db6a6f1c020d11fa6dea57d85923383a8ae080b7
3
+ size 4593115694
checkpoint-3500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68b595e5db0d34135cd2b18af486e1b7c4920017ad1b1fab0bec56c53805412d
3
+ size 743350672
checkpoint-3500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5f8f4ad000f444f334485a032a54b98a0bc3c1f9091994432de04175bcb7b82
3
+ size 14280
checkpoint-3500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d59ca8d409261353811eb02536a0ddc7694633fe838b3fce3e8a74f14bd80f1a
3
+ size 1064
checkpoint-500/np_cr_model6_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26a66ae84b5c299ab1301365730e73edf3f7066b9b0de814d2e793c6a23bf261
3
+ size 16536
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71dc7376d1e3be10c7717bb702fb69d51e246305b6aa02f35c3149affdb0062c
3
+ size 4593115694
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5641e5aee4a521e4a6008b9d8a9bda64ab95263c9f4439fd41d663e3b8b1533a
3
+ size 743350672
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87c8a56f19943b6783e0ad80d369ad01566051b60ca9739dea074e41c2f4c4e9
3
+ size 14280
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f69f319474a0f96bcdc98089257a7338a392db6136a936e8466cc8c48e0767f4
3
+ size 1064
image_0.png ADDED

Git LFS Details

  • SHA256: a19720350838b575bf25668646b851b23ebcf35efaf730c3121c87d4084b1723
  • Pointer size: 132 Bytes
  • Size of remote file: 1.59 MB
image_1.png ADDED

Git LFS Details

  • SHA256: c49f3b2a72d6b53cad30e50dee3fd1110ffc9d150df4b8d47c631258ab03c4f9
  • Pointer size: 132 Bytes
  • Size of remote file: 1.47 MB
image_2.png ADDED

Git LFS Details

  • SHA256: e8403a1cb76c94a34bc3aeddbaaaefa1622494325b8a8518d88f7c19c316aaf9
  • Pointer size: 132 Bytes
  • Size of remote file: 1.53 MB
image_3.png ADDED

Git LFS Details

  • SHA256: eba30c4f367dd3e2c235f16976887871625df8951dcad5dc137a294a546a5788
  • Pointer size: 132 Bytes
  • Size of remote file: 1.55 MB
np_cr_model6.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37bb0eec78f3918c1c9c64b41731d4fa63baf29ea8883b7f6ff6bc9bb12e7dd6
3
+ size 1486611528
np_cr_model6_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c62a2ebc136fad04be5aad4f475145f34262f738a48c83ea518329ab79c63ab8
3
+ size 16536
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:577799e767780d6b5ef28a6678208336002f3c34b57e4b8152fb20f47795acaf
3
+ size 1486528728