Upload folder using huggingface_hub
Browse files- .gitattributes +11 -0
- .ipynb_checkpoints/README-checkpoint.md +31 -0
- .ipynb_checkpoints/dataset-checkpoint.toml +14 -0
- .ipynb_checkpoints/sample_prompts-checkpoint.txt +1 -0
- .ipynb_checkpoints/train-checkpoint.sh +54 -0
- README.md +33 -0
- dataset.toml +14 -0
- penbul-000001.safetensors +3 -0
- penbul-000002.safetensors +3 -0
- penbul-000003.safetensors +3 -0
- penbul-000004.safetensors +3 -0
- penbul-000005.safetensors +3 -0
- penbul-000006.safetensors +3 -0
- penbul-000007.safetensors +3 -0
- penbul-000008.safetensors +3 -0
- penbul-000009.safetensors +3 -0
- penbul.safetensors +3 -0
- sample/penbul_000250_00_20250312141325.png +3 -0
- sample/penbul_000500_00_20250312142142.png +3 -0
- sample/penbul_000750_00_20250312143001.png +3 -0
- sample/penbul_001000_00_20250312143836.png +3 -0
- sample/penbul_001250_00_20250312144706.png +3 -0
- sample/penbul_001500_00_20250312145534.png +3 -0
- sample/penbul_001750_00_20250312150400.png +3 -0
- sample/penbul_002000_00_20250312151225.png +3 -0
- sample/penbul_002250_00_20250312152047.png +3 -0
- sample/penbul_002500_00_20250312152910.png +3 -0
- sample/penbul_002750_00_20250312153734.png +3 -0
- sample_prompts.txt +1 -0
- train.sh +54 -0
.gitattributes
CHANGED
@@ -33,3 +33,14 @@ 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 |
+
sample/penbul_000250_00_20250312141325.png filter=lfs diff=lfs merge=lfs -text
|
37 |
+
sample/penbul_000500_00_20250312142142.png filter=lfs diff=lfs merge=lfs -text
|
38 |
+
sample/penbul_000750_00_20250312143001.png filter=lfs diff=lfs merge=lfs -text
|
39 |
+
sample/penbul_001000_00_20250312143836.png filter=lfs diff=lfs merge=lfs -text
|
40 |
+
sample/penbul_001250_00_20250312144706.png filter=lfs diff=lfs merge=lfs -text
|
41 |
+
sample/penbul_001500_00_20250312145534.png filter=lfs diff=lfs merge=lfs -text
|
42 |
+
sample/penbul_001750_00_20250312150400.png filter=lfs diff=lfs merge=lfs -text
|
43 |
+
sample/penbul_002000_00_20250312151225.png filter=lfs diff=lfs merge=lfs -text
|
44 |
+
sample/penbul_002250_00_20250312152047.png filter=lfs diff=lfs merge=lfs -text
|
45 |
+
sample/penbul_002500_00_20250312152910.png filter=lfs diff=lfs merge=lfs -text
|
46 |
+
sample/penbul_002750_00_20250312153734.png filter=lfs diff=lfs merge=lfs -text
|
.ipynb_checkpoints/README-checkpoint.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- fluxgym
|
9 |
+
|
10 |
+
|
11 |
+
base_model: black-forest-labs/FLUX.1-dev
|
12 |
+
instance_prompt: penbul, male with big bulge, visible erection inside underwear
|
13 |
+
license: other
|
14 |
+
license_name: flux-1-dev-non-commercial-license
|
15 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
16 |
+
---
|
17 |
+
|
18 |
+
# penbul
|
19 |
+
|
20 |
+
A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
21 |
+
|
22 |
+
<Gallery />
|
23 |
+
|
24 |
+
## Trigger words
|
25 |
+
|
26 |
+
You should use `penbul, male with big bulge, visible erection inside underwear` to trigger the image generation.
|
27 |
+
|
28 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
29 |
+
|
30 |
+
Weights for this model are available in Safetensors format.
|
31 |
+
|
.ipynb_checkpoints/dataset-checkpoint.toml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[general]
|
2 |
+
shuffle_caption = false
|
3 |
+
caption_extension = '.txt'
|
4 |
+
keep_tokens = 1
|
5 |
+
|
6 |
+
[[datasets]]
|
7 |
+
resolution = 512
|
8 |
+
batch_size = 1
|
9 |
+
keep_tokens = 1
|
10 |
+
|
11 |
+
[[datasets.subsets]]
|
12 |
+
image_dir = '/workspace/fluxgym/datasets/penbul'
|
13 |
+
class_tokens = 'penbul, male with big bulge, visible erection inside underwear'
|
14 |
+
num_repeats = 15
|
.ipynb_checkpoints/sample_prompts-checkpoint.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
penbul, male with big bulge, visible erection inside underwear
|
.ipynb_checkpoints/train-checkpoint.sh
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
accelerate launch \
|
2 |
+
--mixed_precision fp16 \
|
3 |
+
--num_cpu_threads_per_process 1 \
|
4 |
+
sd-scripts/flux_train_network.py \
|
5 |
+
--pretrained_model_name_or_path "/workspace/fluxgym/models/unet/flux1-dev.sft" \
|
6 |
+
--clip_l "/workspace/fluxgym/models/clip/clip_l.safetensors" \
|
7 |
+
--t5xxl "/workspace/fluxgym/models/clip/t5xxl_fp16.safetensors" \
|
8 |
+
--ae "/workspace/fluxgym/models/vae/ae.sft" \
|
9 |
+
--cache_latents_to_disk \
|
10 |
+
--save_model_as safetensors \
|
11 |
+
--sdpa --persistent_data_loader_workers \
|
12 |
+
--max_data_loader_n_workers 8 \
|
13 |
+
--seed 42 \
|
14 |
+
--gradient_checkpointing \
|
15 |
+
--mixed_precision fp16 \
|
16 |
+
--save_precision fp16 \
|
17 |
+
--network_module networks.lora_flux \
|
18 |
+
--network_dim 64 \
|
19 |
+
--optimizer_type adamw8bit \--sample_prompts="/workspace/fluxgym/outputs/penbul/sample_prompts.txt" --sample_every_n_steps="250" \
|
20 |
+
--learning_rate 1e-4 \
|
21 |
+
--cache_text_encoder_outputs \
|
22 |
+
--cache_text_encoder_outputs_to_disk \
|
23 |
+
--fp8_base \
|
24 |
+
--highvram \
|
25 |
+
--max_train_epochs 20 \
|
26 |
+
--save_every_n_epochs 1 \
|
27 |
+
--dataset_config "/workspace/fluxgym/outputs/penbul/dataset.toml" \
|
28 |
+
--output_dir "/workspace/fluxgym/outputs/penbul" \
|
29 |
+
--output_name penbul \
|
30 |
+
--timestep_sampling shift \
|
31 |
+
--discrete_flow_shift 3.1582 \
|
32 |
+
--model_prediction_type raw \
|
33 |
+
--guidance_scale 1 \
|
34 |
+
--loss_type l2 \
|
35 |
+
--adaptive_noise_scale 1.0 \
|
36 |
+
--bucket_reso_steps 64 \
|
37 |
+
--cache_latents \
|
38 |
+
--clip_skip 2 \
|
39 |
+
--console_log_level DEBUG \
|
40 |
+
--enable_bucket \
|
41 |
+
--gradient_accumulation_steps 2 \
|
42 |
+
--lr_scheduler_timescale 0 \
|
43 |
+
--max_bucket_reso 1024 \
|
44 |
+
--max_train_steps 7000 \
|
45 |
+
--max_validation_steps 10 \
|
46 |
+
--mem_eff_attn \
|
47 |
+
--min_bucket_reso 512 \
|
48 |
+
--network_alpha 32 \
|
49 |
+
--network_dropout 0.1 \
|
50 |
+
--noise_offset 0.1 \
|
51 |
+
--offload_optimizer_device cpu \
|
52 |
+
--resolution 768,1024 \
|
53 |
+
--train_batch_size 8 \
|
54 |
+
--xformers
|
README.md
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-to-image
|
4 |
+
- flux
|
5 |
+
- lora
|
6 |
+
- diffusers
|
7 |
+
- template:sd-lora
|
8 |
+
- fluxgym
|
9 |
+
widget:
|
10 |
+
- output:
|
11 |
+
url: sample/penbul_002750_00_20250312153734.png
|
12 |
+
text: penbul, male with big bulge, visible erection inside underwear
|
13 |
+
base_model: black-forest-labs/FLUX.1-dev
|
14 |
+
instance_prompt: penbul, male with big bulge, visible erection inside underwear
|
15 |
+
license: other
|
16 |
+
license_name: flux-1-dev-non-commercial-license
|
17 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
18 |
+
---
|
19 |
+
|
20 |
+
# penbul
|
21 |
+
|
22 |
+
A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
23 |
+
|
24 |
+
<Gallery />
|
25 |
+
|
26 |
+
## Trigger words
|
27 |
+
|
28 |
+
You should use `penbul, male with big bulge, visible erection inside underwear` to trigger the image generation.
|
29 |
+
|
30 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
31 |
+
|
32 |
+
Weights for this model are available in Safetensors format.
|
33 |
+
|
dataset.toml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[general]
|
2 |
+
shuffle_caption = false
|
3 |
+
caption_extension = '.txt'
|
4 |
+
keep_tokens = 1
|
5 |
+
|
6 |
+
[[datasets]]
|
7 |
+
resolution = 1024
|
8 |
+
batch_size = 4
|
9 |
+
keep_tokens = 1
|
10 |
+
|
11 |
+
[[datasets.subsets]]
|
12 |
+
image_dir = '/workspace/fluxgym/datasets/penbul'
|
13 |
+
class_tokens = 'penbul, male with big bulge, visible erection inside underwear'
|
14 |
+
num_repeats = 20
|
penbul-000001.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed7efd2b10104a310e6892ca500a4cdee10ee0a85f572ed87fe080c770d8df39
|
3 |
+
size 634023808
|
penbul-000002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:711f51b1270f5b6696a1d8b4479965dc406d06f84f44d38db9f85a40b72716c5
|
3 |
+
size 634023808
|
penbul-000003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a936ab9dfe9cd976babd2a3219c098bb91aac0f57a9612184ed7d240e0499a2
|
3 |
+
size 634023808
|
penbul-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d404bbf9dfb0d62828c70c34164c2db70d33ca38e6581bd408661e3fa05fde1b
|
3 |
+
size 634023808
|
penbul-000005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba71e85fd476bf7391801072ec168add693da042f9a18e609ae7f64e3f6cb764
|
3 |
+
size 634023808
|
penbul-000006.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0ed00ae1b94f65c326f8391737ac96a243a1026c72beeab0b847435ffdf578a
|
3 |
+
size 634023808
|
penbul-000007.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e928c0fa3c21347c1d68e28107847a3464d69a9187af1c4bb7609416a9253989
|
3 |
+
size 634023808
|
penbul-000008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d2fba37f88dcd14ba0f40807f081764b60c02f051faa52ea487a576dfb7119d
|
3 |
+
size 634023808
|
penbul-000009.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88da7c90915260764b3f5ea7e28f917d3846fe94db219b138335f9e2050ad794
|
3 |
+
size 634023808
|
penbul.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:545a584372dff05f1fde2cbcb58b11b76219e00575d634093518feb05e25b0e2
|
3 |
+
size 634023808
|
sample/penbul_000250_00_20250312141325.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_000500_00_20250312142142.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_000750_00_20250312143001.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_001000_00_20250312143836.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_001250_00_20250312144706.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_001500_00_20250312145534.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_001750_00_20250312150400.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_002000_00_20250312151225.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_002250_00_20250312152047.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_002500_00_20250312152910.png
ADDED
![]() |
Git LFS Details
|
sample/penbul_002750_00_20250312153734.png
ADDED
![]() |
Git LFS Details
|
sample_prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
penbul, male with big bulge, visible erection inside underwear
|
train.sh
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
accelerate launch \
|
2 |
+
--mixed_precision bf16 \
|
3 |
+
--num_cpu_threads_per_process 1 \
|
4 |
+
sd-scripts/flux_train_network.py \
|
5 |
+
--pretrained_model_name_or_path "/workspace/fluxgym/models/unet/flux1-dev.sft" \
|
6 |
+
--clip_l "/workspace/fluxgym/models/clip/clip_l.safetensors" \
|
7 |
+
--t5xxl "/workspace/fluxgym/models/clip/t5xxl_fp16.safetensors" \
|
8 |
+
--ae "/workspace/fluxgym/models/vae/ae.sft" \
|
9 |
+
--cache_latents_to_disk \
|
10 |
+
--save_model_as safetensors \
|
11 |
+
--sdpa --persistent_data_loader_workers \
|
12 |
+
--max_data_loader_n_workers 2 \
|
13 |
+
--seed 42 \
|
14 |
+
--gradient_checkpointing \
|
15 |
+
--mixed_precision bf16 \
|
16 |
+
--save_precision bf16 \
|
17 |
+
--network_module networks.lora_flux \
|
18 |
+
--network_dim 64 \
|
19 |
+
--optimizer_type adamw8bit \--sample_prompts="/workspace/fluxgym/outputs/penbul/sample_prompts.txt" --sample_every_n_steps="250" \
|
20 |
+
--learning_rate 1e-4 \
|
21 |
+
--cache_text_encoder_outputs \
|
22 |
+
--cache_text_encoder_outputs_to_disk \
|
23 |
+
--fp8_base \
|
24 |
+
--highvram \
|
25 |
+
--max_train_epochs 20 \
|
26 |
+
--save_every_n_epochs 1 \
|
27 |
+
--dataset_config "/workspace/fluxgym/outputs/penbul/dataset.toml" \
|
28 |
+
--output_dir "/workspace/fluxgym/outputs/penbul" \
|
29 |
+
--output_name penbul \
|
30 |
+
--timestep_sampling shift \
|
31 |
+
--discrete_flow_shift 3.1582 \
|
32 |
+
--model_prediction_type raw \
|
33 |
+
--guidance_scale 1 \
|
34 |
+
--loss_type l2 \
|
35 |
+
--adaptive_noise_scale 1.0 \
|
36 |
+
--bucket_reso_steps 64 \
|
37 |
+
--cache_latents \
|
38 |
+
--clip_skip 2 \
|
39 |
+
--console_log_level DEBUG \
|
40 |
+
--enable_bucket \
|
41 |
+
--gradient_accumulation_steps 2 \
|
42 |
+
--lr_scheduler_timescale 0 \
|
43 |
+
--max_bucket_reso 1024 \
|
44 |
+
--max_train_steps 7000 \
|
45 |
+
--max_validation_steps 10 \
|
46 |
+
--mem_eff_attn \
|
47 |
+
--min_bucket_reso 256 \
|
48 |
+
--network_alpha 32 \
|
49 |
+
--network_dropout 0.1 \
|
50 |
+
--noise_offset 0.1 \
|
51 |
+
--offload_optimizer_device cpu \
|
52 |
+
--resolution 768,768 \
|
53 |
+
--train_batch_size 4 \
|
54 |
+
--xformers
|