jasonz-paige commited on
Commit
8745bec
1 Parent(s): f50470b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 'a sticker icon of an astronaut in the style of Talebit'
13
+ output:
14
+ url:
15
+ "image_0.png"
16
+
17
+ - text: 'a sticker icon of an astronaut in the style of Talebit'
18
+ output:
19
+ url:
20
+ "image_1.png"
21
+
22
+ - text: 'a sticker icon of an astronaut in the style of Talebit'
23
+ output:
24
+ url:
25
+ "image_2.png"
26
+
27
+ - text: 'a sticker icon of an astronaut in the style of Talebit'
28
+ output:
29
+ url:
30
+ "image_3.png"
31
+
32
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
33
+ instance_prompt: sticker icon in the style of Talebit
34
+ license: openrail++
35
+ ---
36
+
37
+ # SDXL LoRA DreamBooth - jasonz-paige/talebit-sdxl-lora
38
+
39
+ <Gallery />
40
+
41
+ ## Model description
42
+
43
+ ### These are jasonz-paige/talebit-sdxl-lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
44
+
45
+ ## Download model
46
+
47
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
48
+
49
+ - **LoRA**: download **[`talebit-sdxl-lora.safetensors` here 💾](/jasonz-paige/talebit-sdxl-lora/blob/main/talebit-sdxl-lora.safetensors)**.
50
+ - Place it on your `models/Lora` folder.
51
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:talebit-sdxl-lora:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
52
+ - *Embeddings*: download **[`talebit-sdxl-lora_emb.safetensors` here 💾](/jasonz-paige/talebit-sdxl-lora/blob/main/talebit-sdxl-lora_emb.safetensors)**.
53
+ - Place it on it on your `embeddings` folder
54
+ - Use it by adding `talebit-sdxl-lora_emb` to your prompt. For example, `sticker icon in the style of Talebit`
55
+ (you need both the LoRA and the embeddings as they were trained together for this LoRA)
56
+
57
+
58
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
59
+
60
+ ```py
61
+ from diffusers import AutoPipelineForText2Image
62
+ import torch
63
+ from huggingface_hub import hf_hub_download
64
+ from safetensors.torch import load_file
65
+
66
+ pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
67
+ pipeline.load_lora_weights('jasonz-paige/talebit-sdxl-lora', weight_name='pytorch_lora_weights.safetensors')
68
+ embedding_path = hf_hub_download(repo_id='jasonz-paige/talebit-sdxl-lora', filename='talebit-sdxl-lora_emb.safetensors', repo_type="model")
69
+ state_dict = load_file(embedding_path)
70
+ pipeline.load_textual_inversion(state_dict["clip_l"], token=[], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
71
+ pipeline.load_textual_inversion(state_dict["clip_g"], token=[], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
72
+
73
+ image = pipeline('a sticker icon of an astronaut in the style of Talebit').images[0]
74
+ ```
75
+
76
+ 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)
77
+
78
+ ## Trigger words
79
+
80
+ To trigger image generation of trained concept(or concepts) replace each concept identifier in you prompt with the new inserted tokens:
81
+
82
+ to trigger concept `TOK` → use `<s0><s1>` in your prompt
83
+
84
+
85
+
86
+ ## Details
87
+ All [Files & versions](/jasonz-paige/talebit-sdxl-lora/tree/main).
88
+
89
+ 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).
90
+
91
+ LoRA for the text encoder was enabled. False.
92
+
93
+ Pivotal tuning was enabled: True.
94
+
95
+ Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
96
+
checkpoint-1000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2d0c5e2442232218a819d95b738ef1dabd15ee8e1846622d3dd34aa3845ba4
3
+ size 1713278938
checkpoint-1000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b77af033398aef9b4566330998931589f9326242ea97eadc971acb8c07f0fe7c
3
+ size 23391544
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdcedcde50a187d4f87476c4b3f057206165e0d98ddbff841047c0d59d11a77f
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-1000/talebit-sdxl-lora_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c0c5e0910d7886e9bd2315950d5510bc29f7692f47ed88850df6756806a2f0c
3
+ size 16536
checkpoint-200/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01e39923195f9b486464623b754547dcd7e9fd712181e9b4ef320f7c3b6669cf
3
+ size 1713277786
checkpoint-200/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4af4bead3b263e301652953569ecd4a0015917c9e13b89e014f60d1544757e8a
3
+ size 23391544
checkpoint-200/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f9906cf83a9e20fe66ff828341a361a46bfa6439bc3f50d15aa4e1cfd56e4f7
3
+ size 14280
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-200/talebit-sdxl-lora_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebccefb3074559e4e0c8cddc65e74a61be7848d50c14c470510614cd94901b7e
3
+ size 16536
checkpoint-400/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0985fdf73f82ef8854cdf99433468433b2e5c46d86e8ae283dcc2a3e5a3e2e04
3
+ size 1713278938
checkpoint-400/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54b38998cec53b7ab95e9e15de6e3e59614887f41ac9e451d11efc348097f952
3
+ size 23391544
checkpoint-400/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd67f73bcb3ac84dbb445bd40f3807772cd0db8158e61b4aa721f0a614564baf
3
+ size 14280
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-400/talebit-sdxl-lora_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc153a562ad0781757929bace66ac46698c143d363d91caa3799dc3416bed4bc
3
+ size 16536
checkpoint-600/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c16dbec2dea98a6d1c73373df3bab244c177329c8609f676a3dd301522f75e8f
3
+ size 1713278938
checkpoint-600/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f4259a74a7b7794d051cde4001562cc5a5dea8cc45085a903622e58b7502213
3
+ size 23391544
checkpoint-600/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a67d1615da9b6412c8c21a530f562f9edaf46593b0b977699b2d9c7819fc7618
3
+ size 14280
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-600/talebit-sdxl-lora_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ff4a9447597085f06bdbcb10f62395772914b33ccf06f0c71fae5f1141c51a0
3
+ size 16536
checkpoint-800/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ee901d12ac10cc0df2f4ba5cc8231b13a1b31e56dc9c395578d3693c5a023c1
3
+ size 1713278938
checkpoint-800/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6e7304771fb96a8d42c8a9200350189639e273428da3d3ab083c535914a13b2
3
+ size 23391544
checkpoint-800/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83678761ce3879ca9716d00cfd5ae701009ae8c42f1d662e1ae884d33a3b5689
3
+ size 14280
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
checkpoint-800/talebit-sdxl-lora_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93b8b661d98434f4aa0576b80d2b5856d58470d848e65f9523dd45f4223e7dc6
3
+ size 16536
image_0.png ADDED
image_1.png ADDED
image_2.png ADDED
image_3.png ADDED
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:691fb5d42c59802140b3842d72cd3438baefbe3a284d5cd2244c0ce058dbab98
3
+ size 46615272
talebit-sdxl-lora.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dcbd6b153ac362ed84062fbee9b2c5dccb1180efe01ae35e2cea094797b1127
3
+ size 46698072
talebit-sdxl-lora_emb.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c0c5e0910d7886e9bd2315950d5510bc29f7692f47ed88850df6756806a2f0c
3
+ size 16536