Upload folder using huggingface_hub
Browse files- README.md +2 -2
- config.yaml +5 -5
- lora.safetensors +2 -2
README.md
CHANGED
|
@@ -16,7 +16,7 @@ pipeline_tag: text-to-image
|
|
| 16 |
# prompt
|
| 17 |
# output:
|
| 18 |
# url: https://...
|
| 19 |
-
instance_prompt:
|
| 20 |
---
|
| 21 |
|
| 22 |
# F T
|
|
@@ -29,7 +29,7 @@ https://replicate.com/ostris/flux-dev-lora-trainer/train
|
|
| 29 |
|
| 30 |
|
| 31 |
## Trigger words
|
| 32 |
-
You should use `
|
| 33 |
|
| 34 |
|
| 35 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
|
|
|
| 16 |
# prompt
|
| 17 |
# output:
|
| 18 |
# url: https://...
|
| 19 |
+
instance_prompt: TOKC chair
|
| 20 |
---
|
| 21 |
|
| 22 |
# F T
|
|
|
|
| 29 |
|
| 30 |
|
| 31 |
## Trigger words
|
| 32 |
+
You should use `TOKC chair` to trigger the image generation.
|
| 33 |
|
| 34 |
|
| 35 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
config.yaml
CHANGED
|
@@ -5,11 +5,11 @@ 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: 100
|
|
@@ -27,14 +27,14 @@ config:
|
|
| 27 |
- 1024
|
| 28 |
train:
|
| 29 |
batch_size: 1
|
| 30 |
-
steps:
|
| 31 |
gradient_accumulation_steps: 1
|
| 32 |
train_unet: true
|
| 33 |
train_text_encoder: false
|
| 34 |
content_or_style: balanced
|
| 35 |
gradient_checkpointing: false
|
| 36 |
noise_scheduler: flowmatch
|
| 37 |
-
optimizer:
|
| 38 |
lr: 0.0004
|
| 39 |
ema_config:
|
| 40 |
use_ema: true
|
|
|
|
| 5 |
- type: custom_sd_trainer
|
| 6 |
training_folder: output
|
| 7 |
device: cuda:0
|
| 8 |
+
trigger_word: TOKC chair
|
| 9 |
network:
|
| 10 |
type: lora
|
| 11 |
+
linear: 16
|
| 12 |
+
linear_alpha: 16
|
| 13 |
save:
|
| 14 |
dtype: float16
|
| 15 |
save_every: 100
|
|
|
|
| 27 |
- 1024
|
| 28 |
train:
|
| 29 |
batch_size: 1
|
| 30 |
+
steps: 1000
|
| 31 |
gradient_accumulation_steps: 1
|
| 32 |
train_unet: true
|
| 33 |
train_text_encoder: false
|
| 34 |
content_or_style: balanced
|
| 35 |
gradient_checkpointing: false
|
| 36 |
noise_scheduler: flowmatch
|
| 37 |
+
optimizer: adamw8bit
|
| 38 |
lr: 0.0004
|
| 39 |
ema_config:
|
| 40 |
use_ema: true
|
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:0f0660757f83dd3e0bade6ff654de351f37ebc6f7683195a7c936c03f3c83b7a
|
| 3 |
+
size 171969424
|