Everywhereai
commited on
Commit
•
0d5f83a
1
Parent(s):
f36c563
Upload folder using huggingface_hub
Browse files- README.md +2 -2
- config.yaml +8 -8
- lora.safetensors +2 -2
README.md
CHANGED
@@ -11,7 +11,7 @@ tags:
|
|
11 |
- replicate
|
12 |
base_model: "black-forest-labs/FLUX.1-dev"
|
13 |
pipeline_tag: text-to-image
|
14 |
-
instance_prompt:
|
15 |
---
|
16 |
|
17 |
# Martin Flux 1
|
@@ -22,7 +22,7 @@ https://replicate.com/ostris/flux-dev-lora-trainer/train
|
|
22 |
|
23 |
|
24 |
## Trigger words
|
25 |
-
You should use `
|
26 |
|
27 |
|
28 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
|
|
11 |
- replicate
|
12 |
base_model: "black-forest-labs/FLUX.1-dev"
|
13 |
pipeline_tag: text-to-image
|
14 |
+
instance_prompt: kcblack
|
15 |
---
|
16 |
|
17 |
# Martin Flux 1
|
|
|
22 |
|
23 |
|
24 |
## Trigger words
|
25 |
+
You should use `kcblack` to trigger the image generation.
|
26 |
|
27 |
|
28 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
config.yaml
CHANGED
@@ -5,14 +5,14 @@ config:
|
|
5 |
- type: custom_sd_trainer
|
6 |
training_folder: output
|
7 |
device: cuda:0
|
8 |
-
trigger_word:
|
9 |
network:
|
10 |
type: lora
|
11 |
-
linear:
|
12 |
-
linear_alpha:
|
13 |
save:
|
14 |
dtype: float16
|
15 |
-
save_every:
|
16 |
max_step_saves_to_keep: 1
|
17 |
datasets:
|
18 |
- folder_path: input_images
|
@@ -26,15 +26,15 @@ config:
|
|
26 |
- 1024
|
27 |
train:
|
28 |
batch_size: 1
|
29 |
-
steps:
|
30 |
gradient_accumulation_steps: 1
|
31 |
train_unet: true
|
32 |
train_text_encoder: false
|
33 |
content_or_style: balanced
|
34 |
gradient_checkpointing: true
|
35 |
noise_scheduler: flowmatch
|
36 |
-
optimizer:
|
37 |
-
lr: 0.
|
38 |
ema_config:
|
39 |
use_ema: true
|
40 |
ema_decay: 0.99
|
@@ -45,7 +45,7 @@ config:
|
|
45 |
quantize: true
|
46 |
sample:
|
47 |
sampler: flowmatch
|
48 |
-
sample_every:
|
49 |
width: 1024
|
50 |
height: 1024
|
51 |
prompts: []
|
|
|
5 |
- type: custom_sd_trainer
|
6 |
training_folder: output
|
7 |
device: cuda:0
|
8 |
+
trigger_word: kcblack
|
9 |
network:
|
10 |
type: lora
|
11 |
+
linear: 16
|
12 |
+
linear_alpha: 16
|
13 |
save:
|
14 |
dtype: float16
|
15 |
+
save_every: 1001
|
16 |
max_step_saves_to_keep: 1
|
17 |
datasets:
|
18 |
- folder_path: input_images
|
|
|
26 |
- 1024
|
27 |
train:
|
28 |
batch_size: 1
|
29 |
+
steps: 1000
|
30 |
gradient_accumulation_steps: 1
|
31 |
train_unet: true
|
32 |
train_text_encoder: false
|
33 |
content_or_style: balanced
|
34 |
gradient_checkpointing: true
|
35 |
noise_scheduler: flowmatch
|
36 |
+
optimizer: adamw8bit
|
37 |
+
lr: 0.0004
|
38 |
ema_config:
|
39 |
use_ema: true
|
40 |
ema_decay: 0.99
|
|
|
45 |
quantize: true
|
46 |
sample:
|
47 |
sampler: flowmatch
|
48 |
+
sample_every: 1001
|
49 |
width: 1024
|
50 |
height: 1024
|
51 |
prompts: []
|
lora.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f86921898a37f17f83ba95d15308764c653195a2d01e743014425cafe2d98db
|
3 |
+
size 171969424
|