Upload folder using huggingface_hub
Browse files- README.md +3 -2
- config.yaml +7 -8
- lora.safetensors +3 -0
README.md
CHANGED
@@ -8,9 +8,10 @@ tags:
|
|
8 |
- flux
|
9 |
- diffusers
|
10 |
- lora
|
|
|
11 |
base_model: "black-forest-labs/FLUX.1-dev"
|
12 |
pipeline_tag: text-to-image
|
13 |
-
instance_prompt:
|
14 |
---
|
15 |
|
16 |
# Pony_Loras
|
@@ -21,7 +22,7 @@ https://replicate.com/ostris/flux-dev-lora-trainer/train
|
|
21 |
|
22 |
|
23 |
## Trigger words
|
24 |
-
You should use `
|
25 |
|
26 |
|
27 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
|
|
8 |
- flux
|
9 |
- diffusers
|
10 |
- lora
|
11 |
+
- replicate
|
12 |
base_model: "black-forest-labs/FLUX.1-dev"
|
13 |
pipeline_tag: text-to-image
|
14 |
+
instance_prompt: ohwx
|
15 |
---
|
16 |
|
17 |
# Pony_Loras
|
|
|
22 |
|
23 |
|
24 |
## Trigger words
|
25 |
+
You should use `ohwx` to trigger the image generation.
|
26 |
|
27 |
|
28 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
config.yaml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
-
job:
|
2 |
config:
|
3 |
name: flux_train_replicate
|
4 |
process:
|
5 |
-
- type:
|
6 |
training_folder: output
|
7 |
device: cuda:0
|
8 |
-
trigger_word:
|
9 |
network:
|
10 |
type: lora
|
11 |
linear: 16
|
12 |
linear_alpha: 16
|
13 |
save:
|
14 |
dtype: float16
|
15 |
-
save_every:
|
16 |
max_step_saves_to_keep: 1
|
17 |
datasets:
|
18 |
- folder_path: input_images
|
@@ -21,12 +21,11 @@ config:
|
|
21 |
shuffle_tokens: false
|
22 |
cache_latents_to_disk: true
|
23 |
resolution:
|
24 |
-
- 512
|
25 |
-
- 768
|
26 |
- 1024
|
|
|
27 |
train:
|
28 |
batch_size: 1
|
29 |
-
steps:
|
30 |
gradient_accumulation_steps: 1
|
31 |
train_unet: true
|
32 |
train_text_encoder: false
|
@@ -45,7 +44,7 @@ config:
|
|
45 |
quantize: true
|
46 |
sample:
|
47 |
sampler: flowmatch
|
48 |
-
sample_every:
|
49 |
width: 1024
|
50 |
height: 1024
|
51 |
prompts: []
|
|
|
1 |
+
job: custom_job
|
2 |
config:
|
3 |
name: flux_train_replicate
|
4 |
process:
|
5 |
+
- type: custom_sd_trainer
|
6 |
training_folder: output
|
7 |
device: cuda:0
|
8 |
+
trigger_word: ohwx
|
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
|
|
|
21 |
shuffle_tokens: false
|
22 |
cache_latents_to_disk: true
|
23 |
resolution:
|
|
|
|
|
24 |
- 1024
|
25 |
+
- 1536
|
26 |
train:
|
27 |
batch_size: 1
|
28 |
+
steps: 1000
|
29 |
gradient_accumulation_steps: 1
|
30 |
train_unet: true
|
31 |
train_text_encoder: false
|
|
|
44 |
quantize: true
|
45 |
sample:
|
46 |
sampler: flowmatch
|
47 |
+
sample_every: 1001
|
48 |
width: 1024
|
49 |
height: 1024
|
50 |
prompts: []
|
lora.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82e941935fa7ca900f70b265b07d8d86fe7d547397a58d0101d159f138212866
|
3 |
+
size 171969416
|