dataautogpt3 commited on
Commit
2178a9a
·
1 Parent(s): 08ed2b9

Upload 10 files

Browse files
.gitattributes CHANGED
@@ -1,35 +1,7 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz 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
 
1
+ example_1.png filter=lfs diff=lfs merge=lfs -text
2
+ example_2.png filter=lfs diff=lfs merge=lfs -text
3
+ example_3.png filter=lfs diff=lfs merge=lfs -text
4
+ example_4.png filter=lfs diff=lfs merge=lfs -text
5
+ example_5.png filter=lfs diff=lfs merge=lfs -text
6
+ pytorch_lora_weights.safetensors filter=lfs diff=lfs merge=lfs -text
7
+ synthetic-animev1-1.safetensors filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -1,3 +1,88 @@
1
  ---
2
- license: cc-by-nc-nd-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - text: in the style of <s0><s1>
11
+ output:
12
+ url: example_1.png
13
+ - text: in the style of <s0><s1>
14
+ output:
15
+ url: example_2.png
16
+ - text: in the style of <s0><s1>
17
+ output:
18
+ url: example_3.png
19
+ - text: in the style of <s0><s1>, manga in the early 1990s,surreal,digitally rendered with glitches appearing throughout,depicted in matte colors,created using a digital medium. illustrated by Junji Ito,Yoshiyuki Sadamoto, and Rumiko Takahashi, a green cartoon frog, pepe,
20
+ output:
21
+ url: example_4.png
22
+ - text: in the style of <s0><s1>, manga in the early 1990s,surreal,digitally rendered with glitches appearing throughout,depicted in matte colors,created using a digital medium. illustrated by Junji Ito,Yoshiyuki Sadamoto, and Rumiko Takahashi, a green cartoon frog, pepe,
23
+ output:
24
+ url: example_5.png
25
+ - text: in the style of <s0><s1>, manga in the early 1990s,surreal
26
+ base_model: dataautogpt3/OpenDalleV1.1
27
+ instance_prompt: in the style of <s0><s1>
28
+ license: openrail++
29
  ---
30
+
31
+ # SDXL LoRA DreamBooth - dataautogpt3/synthetic-animev1-1
32
+
33
+ <Gallery />
34
+
35
+ ## Model description
36
+
37
+ ### These are dataautogpt3/synthetic-animev1-1 LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
38
+
39
+ ## Download model
40
+
41
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
42
+
43
+ - **LoRA**: download **[`synthetic-animev1-1.safetensors` here 💾](/dataautogpt3/synthetic-animev1-1/blob/main/synthetic-animev1-1.safetensors)**.
44
+ - Place it on your `models/Lora` folder.
45
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:synthetic-animev1-1:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
46
+ - *Embeddings*: download **[`synthetic-animev1-1_emb.safetensors` here 💾](/dataautogpt3/synthetic-animev1-1/blob/main/synthetic-animev1-1_emb.safetensors)**.
47
+ - Place it on it on your `embeddings` folder
48
+ - Use it by adding `synthetic-animev1-1_emb` to your prompt. For example, `in the style of synthetic-animev1-1_emb`
49
+ (you need both the LoRA and the embeddings as they were trained together for this LoRA)
50
+
51
+
52
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
53
+
54
+ ```py
55
+ from diffusers import AutoPipelineForText2Image
56
+ import torch
57
+ from huggingface_hub import hf_hub_download
58
+ from safetensors.torch import load_file
59
+
60
+ pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
61
+ pipeline.load_lora_weights('dataautogpt3/synthetic-animev1-1', weight_name='pytorch_lora_weights.safetensors')
62
+ embedding_path = hf_hub_download(repo_id='dataautogpt3/synthetic-animev1-1', filename='synthetic-animev1-1_emb.safetensors', repo_type="model")
63
+ state_dict = load_file(embedding_path)
64
+ pipeline.load_textual_inversion(state_dict["clip_l"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
65
+ pipeline.load_textual_inversion(state_dict["clip_g"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
66
+
67
+ image = pipeline('in the style of <s0><s1>').images[0]
68
+ ```
69
+
70
+ 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)
71
+
72
+ ## Trigger words
73
+
74
+ To trigger image generation of trained concept(or concepts) replace each concept identifier in you prompt with the new inserted tokens:
75
+
76
+ to trigger concept `TOK` → use `<s0><s1>` in your prompt
77
+
78
+
79
+
80
+ ## Details
81
+ All [Files & versions](/dataautogpt3/synthetic-animev1-1/tree/main).
82
+
83
+ LoRA for the text encoder was enabled. False.
84
+
85
+ Pivotal tuning was enabled: True.
86
+
87
+ Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
88
+
example_1.png ADDED

Git LFS Details

  • SHA256: d6934f72402cf706646a4717bc11badfcc13fa67bec8fb3dd9bc577607f39aa8
  • Pointer size: 132 Bytes
  • Size of remote file: 1.36 MB
example_2.png ADDED

Git LFS Details

  • SHA256: a86cbd61b817be34a511f49667d753eb972824c3b330fa7ce0d10224787b228e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.4 MB
example_3.png ADDED

Git LFS Details

  • SHA256: 10db8c88220d64f31d9c135ae9467a660c133155faca1e429781bd2fe2db6a2f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.75 MB
example_4.png ADDED

Git LFS Details

  • SHA256: bd8753101e4b3cdede8f7955ecd6955b310900941fef040e3a6604ef513d83e1
  • Pointer size: 132 Bytes
  • Size of remote file: 1.79 MB
example_5.png ADDED

Git LFS Details

  • SHA256: c5f7b9cc0007857f937e0b10202812060d51dca4d2b4ac9278955533ee54d01e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.8 MB
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d18bdc678d530335b215657f7f58c390a840ca312eccd6f8decb3b3d4e5f4b3
3
+ size 185963768
synthetic-animev1-1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b87958fbc1e5b8d80f971c4db34320d29264c938186abb181a6b3907b693fe9f
3
+ size 186046568
synthetic-animev1-1_emb.safetensors ADDED
Binary file (8.34 kB). View file