jimmycarter commited on
Commit
528641e
1 Parent(s): 94abb33

Model card auto-generated by SimpleTuner

Browse files
Files changed (1) hide show
  1. README.md +173 -0
README.md ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: "stabilityai/stable-diffusion-3.5-medium"
4
+ tags:
5
+ - sd3
6
+ - sd3-diffusers
7
+ - text-to-image
8
+ - diffusers
9
+ - simpletuner
10
+ - not-for-all-audiences
11
+ - lora
12
+ - template:sd-lora
13
+ - lycoris
14
+ inference: true
15
+ widget:
16
+ - text: 'unconditional (blank prompt)'
17
+ parameters:
18
+ negative_prompt: ''''
19
+ output:
20
+ url: ./assets/image_0_0.png
21
+ - text: 'Loona is a striking anthropomorphic hellhound from the animated web series "Helluva Boss," serving as the receptionist for the demonic assassination company I.M.P. She has dark gray or black fur accented with white markings, giving her a distinctive and edgy look. Her eyes feature red irises set against yellow sclera, adding to her fierce appearance. Embracing a gothic or punk fashion style, Loona typically wears a black crop top, ripped jeans, and combat boots. She accessorizes with spiked bracelets and a choker, which enhance her rebellious image and complement her aloof and sarcastic personality.'
22
+ parameters:
23
+ negative_prompt: ''''
24
+ output:
25
+ url: ./assets/image_1_0.png
26
+ - text: 'A blonde-haired anime girl with green eyes, wearing a black dress adorned with green and gold patterns, is depicted in three different poses. She has a braid, wears a choker, and is seen with a smile, a belt pouch, and a green cape. The background showcases a serene landscape with mountains and a wooden fence.'
27
+ parameters:
28
+ negative_prompt: ''''
29
+ output:
30
+ url: ./assets/image_2_0.png
31
+ - text: 'A captivating portrait of a young boy rendered in oil paint on canvas, with short, light-brown hair framing his face, turned slightly toward the viewer. He wears a blue and white striped shirt with a brown undershirt visible at the neck. A single strand of barbed wire extends from the bottom right corner, adding a poignant touch. In the background, a gray tone is punctuated by darker, abstract shapes evoking desolation, creating a somber and contemplative mood. The artist''s use of light and shadow creates depth, drawing the viewer''s eye to the boy''s face and the barbed wire. The overall effect is one of quiet intensity, inviting reflection on the emotions and experiences behind the boy''s expression. The painting''s title, "liberated," suggests the boy has been freed from oppression, inviting the viewer to ponder the complexities of freedom and its consequences.'
32
+ parameters:
33
+ negative_prompt: ''''
34
+ output:
35
+ url: ./assets/image_3_0.png
36
+ - text: 'A young boy in a blue and white striped shirt with a brown undershirt, surrounded by desolate abstract shapes, is depicted with a poignant barbed wire in the background.'
37
+ parameters:
38
+ negative_prompt: ''''
39
+ output:
40
+ url: ./assets/image_4_0.png
41
+ - text: 'A serene and picturesque scene of a house situated near a body of water, with a garden in the foreground, features a reddish-brown exterior house with brown wooden shutters, surrounded by a colorful assortment of flowers and lush greenery bounded by a wrought iron fence. The garden path, made of stone or concrete, is flanked by four large orange pots containing greenery and flowers, and a small potted plant sits on the path. The water''s edge is lined with a rocky shoreline, and a hill or mountain rises up to meet the sky. The overall atmosphere is one of tranquility and beauty, with a painting, signed "J. Ruval", visible in the bottom-right corner.'
42
+ parameters:
43
+ negative_prompt: ''''
44
+ output:
45
+ url: ./assets/image_5_0.png
46
+ - text: 'A house near a body of water features a reddish-brown exterior, colorful garden, and a rocky shoreline, with a painting signed "J. Ruval" in the corner.'
47
+ parameters:
48
+ negative_prompt: ''''
49
+ output:
50
+ url: ./assets/image_6_0.png
51
+ - text: 'loona from helluva boss.'
52
+ parameters:
53
+ negative_prompt: ''''
54
+ output:
55
+ url: ./assets/image_7_0.png
56
+ ---
57
+
58
+ # sd35-training-m-init
59
+
60
+ This is a LyCORIS adapter derived from [stabilityai/stable-diffusion-3.5-medium](https://huggingface.co/stabilityai/stable-diffusion-3.5-medium).
61
+
62
+
63
+ The main validation prompt used during training was:
64
+
65
+
66
+
67
+ ```
68
+ loona from helluva boss.
69
+ ```
70
+
71
+ ## Validation settings
72
+ - CFG: `5.5`
73
+ - CFG Rescale: `0.0`
74
+ - Steps: `20`
75
+ - Sampler: `None`
76
+ - Seed: `42`
77
+ - Resolution: `1024x1024`
78
+
79
+ Note: The validation settings are not necessarily the same as the [training settings](#training-settings).
80
+
81
+ You can find some example images in the following gallery:
82
+
83
+
84
+ <Gallery />
85
+
86
+ The text encoder **was not** trained.
87
+ You may reuse the base model text encoder for inference.
88
+
89
+
90
+ ## Training settings
91
+
92
+ - Training epochs: 0
93
+ - Training steps: 250
94
+ - Learning rate: 1e-06
95
+ - Max grad norm: 0.01
96
+ - Effective batch size: 1
97
+ - Micro-batch size: 1
98
+ - Gradient accumulation steps: 1
99
+ - Number of GPUs: 1
100
+ - Prediction type: flow-matching
101
+ - Rescaled betas zero SNR: False
102
+ - Optimizer: adamw_bf16
103
+ - Precision: Pure BF16
104
+ - Quantised: Yes: int8-quanto
105
+ - Xformers: Not used
106
+ - LyCORIS Config:
107
+ ```json
108
+ {
109
+ "bypass_mode": true,
110
+ "algo": "lokr",
111
+ "multiplier": 1.0,
112
+ "full_matrix": true,
113
+ "linear_dim": 10000,
114
+ "linear_alpha": 1,
115
+ "factor": 12,
116
+ "apply_preset": {
117
+ "target_module": [
118
+ "JointTransformerBlock"
119
+ ],
120
+ "module_algo_map": {
121
+ "FeedForward": {
122
+ "factor": 1
123
+ },
124
+ "JointTransformerBlock": {
125
+ "factor": 2
126
+ }
127
+ }
128
+ }
129
+ }
130
+ ```
131
+
132
+ ## Datasets
133
+
134
+ ### default_dataset_art
135
+ - Repeats: 0
136
+ - Total number of images: 1805
137
+ - Total number of aspect buckets: 374
138
+ - Resolution: 2048 px
139
+ - Cropped: True
140
+ - Crop style: random
141
+ - Crop aspect: closest
142
+ - Used for regularisation data: No
143
+
144
+
145
+ ## Inference
146
+
147
+
148
+ ```python
149
+ import torch
150
+ from diffusers import DiffusionPipeline
151
+ from lycoris import create_lycoris_from_weights
152
+
153
+ model_id = 'stabilityai/stable-diffusion-3.5-medium'
154
+ adapter_id = 'pytorch_lora_weights.safetensors' # you will have to download this manually
155
+ lora_scale = 1.0
156
+ wrapper, _ = create_lycoris_from_weights(lora_scale, adapter_id, pipeline.transformer)
157
+ wrapper.merge_to()
158
+
159
+ prompt = "loona from helluva boss."
160
+ negative_prompt = ''
161
+ pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu')
162
+ image = pipeline(
163
+ prompt=prompt,
164
+ negative_prompt=negative_prompt,
165
+ num_inference_steps=20,
166
+ generator=torch.Generator(device='cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu').manual_seed(1641421826),
167
+ width=1024,
168
+ height=1024,
169
+ guidance_scale=5.5,
170
+ ).images[0]
171
+ image.save("output.png", format="PNG")
172
+ ```
173
+