Upload folder using huggingface_hub
Browse files- README.md +56 -0
- config.yaml +79 -0
- flux_dev_swap_draws_it.safetensors +3 -0
- flux_dev_swap_draws_it_000001500.safetensors +3 -0
- flux_dev_swap_draws_it_000002000.safetensors +3 -0
- flux_dev_swap_draws_it_000002500.safetensors +3 -0
- samples/1730226192441__000000000_0.jpg +0 -0
- samples/1730226217022__000000000_1.jpg +0 -0
- samples/1730226241598__000000000_2.jpg +0 -0
- samples/1730226266177__000000000_3.jpg +0 -0
- samples/1730226290752__000000000_4.jpg +0 -0
- samples/1730226315329__000000000_5.jpg +0 -0
- samples/1730227492400__000000500_0.jpg +0 -0
- samples/1730227517014__000000500_1.jpg +0 -0
- samples/1730227541625__000000500_2.jpg +0 -0
- samples/1730227566240__000000500_3.jpg +0 -0
- samples/1730227590856__000000500_4.jpg +0 -0
- samples/1730227615482__000000500_5.jpg +0 -0
- samples/1730228794646__000001000_0.jpg +0 -0
- samples/1730228819276__000001000_1.jpg +0 -0
- samples/1730228843887__000001000_2.jpg +0 -0
- samples/1730228868536__000001000_3.jpg +0 -0
- samples/1730228893513__000001000_4.jpg +0 -0
- samples/1730228918126__000001000_5.jpg +0 -0
- samples/1730230092789__000001500_0.jpg +0 -0
- samples/1730230117404__000001500_1.jpg +0 -0
- samples/1730230142046__000001500_2.jpg +0 -0
- samples/1730230166654__000001500_3.jpg +0 -0
- samples/1730230191299__000001500_4.jpg +0 -0
- samples/1730230215949__000001500_5.jpg +0 -0
- samples/1730231392146__000002000_0.jpg +0 -0
- samples/1730231417020__000002000_1.jpg +0 -0
- samples/1730231441683__000002000_2.jpg +0 -0
- samples/1730231466293__000002000_3.jpg +0 -0
- samples/1730231491270__000002000_4.jpg +0 -0
- samples/1730231515878__000002000_5.jpg +0 -0
- samples/1730232694494__000002500_0.jpg +0 -0
- samples/1730232719109__000002500_1.jpg +0 -0
- samples/1730232743722__000002500_2.jpg +0 -0
- samples/1730232768330__000002500_3.jpg +0 -0
- samples/1730232793881__000002500_4.jpg +0 -0
- samples/1730232818487__000002500_5.jpg +0 -0
- samples/1730233998843__000003000_0.jpg +0 -0
- samples/1730234023452__000003000_1.jpg +0 -0
- samples/1730234048067__000003000_2.jpg +0 -0
- samples/1730234072676__000003000_3.jpg +0 -0
- samples/1730234097287__000003000_4.jpg +0 -0
- samples/1730234121900__000003000_5.jpg +0 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- diffusers
|
4 |
+
- text-to-image
|
5 |
+
- template:sd-lora
|
6 |
+
- base_model:black-forest-labs/FLUX.1-dev
|
7 |
+
- base_model:finetune:black-forest-labs/FLUX.1-dev
|
8 |
+
- license:other
|
9 |
+
- region:us
|
10 |
+
- flux
|
11 |
+
- lora
|
12 |
+
widget:
|
13 |
+
- output:
|
14 |
+
url: samples/1730233998843__000003000_0.jpg
|
15 |
+
text: a woman taking selfie in front of mirror, illusion drawn on canvas swap_draws_it
|
16 |
+
, sketch on canvas
|
17 |
+
- output:
|
18 |
+
url: samples/1730234023452__000003000_1.jpg
|
19 |
+
text: peacock pilot pen stencil like art drawn on canvas swap_draws_it , sketch
|
20 |
+
on canvas
|
21 |
+
- output:
|
22 |
+
url: samples/1730234048067__000003000_2.jpg
|
23 |
+
text: two couples are in love in k-pop minimalistic silhouette style, colorful
|
24 |
+
but zero face details swap_draws_it , sketch on canvas
|
25 |
+
- output:
|
26 |
+
url: samples/1730234072676__000003000_3.jpg
|
27 |
+
text: a haunted scribble scene inspired by characteristics of a teddy doll plus
|
28 |
+
basement or prison scene painted on canvas swap_draws_it , sketch on canvas
|
29 |
+
- output:
|
30 |
+
url: samples/1730234097287__000003000_4.jpg
|
31 |
+
text: highly artistic with fine double detailing outlines a rose is drawn with
|
32 |
+
thin pilot pen on canvas swap_draws_it , sketch on canvas
|
33 |
+
- output:
|
34 |
+
url: samples/1730234121900__000003000_5.jpg
|
35 |
+
text: highly realistic hand drawn eyes drawn on page that turned slightly yellowish
|
36 |
+
due to old and it's sticked on a fresh white canvas swap_draws_it , sketch
|
37 |
+
on canvas
|
38 |
+
base_model: black-forest-labs/FLUX.1-dev
|
39 |
+
trigger: swap_draws_it , sketch on canvas
|
40 |
+
instance_prompt: swap_draws_it , sketch on canvas
|
41 |
+
license: other
|
42 |
+
license_name: flux-1-dev-non-commercial-license
|
43 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
44 |
+
---
|
45 |
+
# flux_dev_swap_draws_it
|
46 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) under the [Glif Loradex program](https://huggingface.co/glif-loradex-trainer) by [Glif](https://glif.app) user `swapagrawal14`.
|
47 |
+
<Gallery />
|
48 |
+
## Trigger words
|
49 |
+
You should use `swap_draws_it , sketch on canvas` to trigger the image generation.
|
50 |
+
## Download model
|
51 |
+
Weights for this model are available in Safetensors format.
|
52 |
+
[Download](/glif-loradex-trainer/swapagrawal14_flux_dev_swap_draws_it/tree/main) them in the Files & versions tab.
|
53 |
+
|
54 |
+
## License
|
55 |
+
This model is licensed under the [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|
56 |
+
|
config.yaml
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
config:
|
2 |
+
name: flux_dev_swap_draws_it
|
3 |
+
process:
|
4 |
+
- datasets:
|
5 |
+
- cache_latents_to_disk: true
|
6 |
+
caption_dropout_rate: 0.2
|
7 |
+
caption_ext: txt
|
8 |
+
folder_path: /root/lorahub/flux_dev_swap_draws_it/dataset
|
9 |
+
resolution:
|
10 |
+
- 512
|
11 |
+
- 768
|
12 |
+
- 1024
|
13 |
+
shuffle_tokens: false
|
14 |
+
token_dropout_rate: 0.01
|
15 |
+
device: cuda:0
|
16 |
+
model:
|
17 |
+
is_flux: true
|
18 |
+
name_or_path: black-forest-labs/FLUX.1-dev
|
19 |
+
quantize: true
|
20 |
+
text_encoder_bits: 8
|
21 |
+
network:
|
22 |
+
linear: 42
|
23 |
+
linear_alpha: 42
|
24 |
+
transformer_only: true
|
25 |
+
type: lora
|
26 |
+
performance_log_every: 500
|
27 |
+
sample:
|
28 |
+
height: 1024
|
29 |
+
neg: ''
|
30 |
+
prompts:
|
31 |
+
- a woman taking selfie in front of mirror, illusion drawn on canvas [trigger]
|
32 |
+
- peacock pilot pen stencil like art drawn on canvas [trigger]
|
33 |
+
- two couples are in love in k-pop minimalistic silhouette style, colorful but
|
34 |
+
zero face details [trigger]
|
35 |
+
- a haunted scribble scene inspired by characteristics of a teddy doll plus
|
36 |
+
basement or prison scene painted on canvas [trigger]
|
37 |
+
- highly artistic with fine double detailing outlines a rose is drawn with thin
|
38 |
+
pilot pen on canvas [trigger]
|
39 |
+
- highly realistic hand drawn eyes drawn on page that turned slightly yellowish
|
40 |
+
due to old and it's sticked on a fresh white canvas [trigger]
|
41 |
+
sample_every: 500
|
42 |
+
sample_steps: 25
|
43 |
+
sampler: flowmatch
|
44 |
+
seed: 42
|
45 |
+
walk_seed: true
|
46 |
+
width: 1024
|
47 |
+
save:
|
48 |
+
dtype: float16
|
49 |
+
max_step_saves_to_keep: 3
|
50 |
+
save_every: 500
|
51 |
+
save_format: diffusers
|
52 |
+
train:
|
53 |
+
batch_size: 1
|
54 |
+
dtype: bf16
|
55 |
+
ema_config:
|
56 |
+
ema_decay: 0.99
|
57 |
+
use_ema: true
|
58 |
+
gradient_accumulation_steps: 1
|
59 |
+
gradient_checkpointing: true
|
60 |
+
linear_timesteps: true
|
61 |
+
loss_type: mse
|
62 |
+
lr: 0.0002
|
63 |
+
noise_scheduler: flowmatch
|
64 |
+
optimizer: adamw8bit
|
65 |
+
reg_weight: 1.0
|
66 |
+
steps: 3000
|
67 |
+
target_noise_multiplier: 1.0
|
68 |
+
train_text_encoder: false
|
69 |
+
train_unet: true
|
70 |
+
training_folder: /root/lorahub
|
71 |
+
trigger_word: swap_draws_it , sketch on canvas
|
72 |
+
type: sd_trainer
|
73 |
+
job: extension
|
74 |
+
meta:
|
75 |
+
description: This LoRa model is optimized for generating hand-drawn, sketchbook-style
|
76 |
+
art, capturing the unique elements of pencil texture, bold lines, and selective
|
77 |
+
color accents as seen in custom sketches. It emphasizes fine details, shading,
|
78 |
+
and a realistic yet stylized approach that mirrors traditional drawing techniques.
|
79 |
+
It is trained with my own handmade drawings
|
flux_dev_swap_draws_it.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b00ba024148b2db375bf09eb41bf890fc6a6b61753ddbae034177abc2e74c08
|
3 |
+
size 451203120
|
flux_dev_swap_draws_it_000001500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3837bd74423906294fb0e09edf6e198fd76086fc5ecd9213cb7fa474cef59bd8
|
3 |
+
size 451203120
|
flux_dev_swap_draws_it_000002000.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8668b7917ed76041d137b89f7d24f05835afbff2a2946210f2c9a5339f47975
|
3 |
+
size 451203120
|
flux_dev_swap_draws_it_000002500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aac9b17a0ca4e322033b31b0b0d17c1aeef2cffc4f02e66a3c66848489d40754
|
3 |
+
size 451203120
|
samples/1730226192441__000000000_0.jpg
ADDED
![]() |
samples/1730226217022__000000000_1.jpg
ADDED
![]() |
samples/1730226241598__000000000_2.jpg
ADDED
![]() |
samples/1730226266177__000000000_3.jpg
ADDED
![]() |
samples/1730226290752__000000000_4.jpg
ADDED
![]() |
samples/1730226315329__000000000_5.jpg
ADDED
![]() |
samples/1730227492400__000000500_0.jpg
ADDED
![]() |
samples/1730227517014__000000500_1.jpg
ADDED
![]() |
samples/1730227541625__000000500_2.jpg
ADDED
![]() |
samples/1730227566240__000000500_3.jpg
ADDED
![]() |
samples/1730227590856__000000500_4.jpg
ADDED
![]() |
samples/1730227615482__000000500_5.jpg
ADDED
![]() |
samples/1730228794646__000001000_0.jpg
ADDED
![]() |
samples/1730228819276__000001000_1.jpg
ADDED
![]() |
samples/1730228843887__000001000_2.jpg
ADDED
![]() |
samples/1730228868536__000001000_3.jpg
ADDED
![]() |
samples/1730228893513__000001000_4.jpg
ADDED
![]() |
samples/1730228918126__000001000_5.jpg
ADDED
![]() |
samples/1730230092789__000001500_0.jpg
ADDED
![]() |
samples/1730230117404__000001500_1.jpg
ADDED
![]() |
samples/1730230142046__000001500_2.jpg
ADDED
![]() |
samples/1730230166654__000001500_3.jpg
ADDED
![]() |
samples/1730230191299__000001500_4.jpg
ADDED
![]() |
samples/1730230215949__000001500_5.jpg
ADDED
![]() |
samples/1730231392146__000002000_0.jpg
ADDED
![]() |
samples/1730231417020__000002000_1.jpg
ADDED
![]() |
samples/1730231441683__000002000_2.jpg
ADDED
![]() |
samples/1730231466293__000002000_3.jpg
ADDED
![]() |
samples/1730231491270__000002000_4.jpg
ADDED
![]() |
samples/1730231515878__000002000_5.jpg
ADDED
![]() |
samples/1730232694494__000002500_0.jpg
ADDED
![]() |
samples/1730232719109__000002500_1.jpg
ADDED
![]() |
samples/1730232743722__000002500_2.jpg
ADDED
![]() |
samples/1730232768330__000002500_3.jpg
ADDED
![]() |
samples/1730232793881__000002500_4.jpg
ADDED
![]() |
samples/1730232818487__000002500_5.jpg
ADDED
![]() |
samples/1730233998843__000003000_0.jpg
ADDED
![]() |
samples/1730234023452__000003000_1.jpg
ADDED
![]() |
samples/1730234048067__000003000_2.jpg
ADDED
![]() |
samples/1730234072676__000003000_3.jpg
ADDED
![]() |
samples/1730234097287__000003000_4.jpg
ADDED
![]() |
samples/1730234121900__000003000_5.jpg
ADDED
![]() |