Upload folder using huggingface_hub
Browse files- README.md +40 -0
- config.yaml +68 -0
- optimus.safetensors +3 -0
- optimus_000000500.safetensors +3 -0
- optimus_000001000.safetensors +3 -0
- optimus_000001500.safetensors +3 -0
- samples/1728643313296__000000000_0.jpg +0 -0
- samples/1728643337820__000000000_1.jpg +0 -0
- samples/1728643362349__000000000_2.jpg +0 -0
- samples/1728644211141__000000500_0.jpg +0 -0
- samples/1728644235791__000000500_1.jpg +0 -0
- samples/1728644260434__000000500_2.jpg +0 -0
- samples/1728645102811__000001000_0.jpg +0 -0
- samples/1728645127410__000001000_1.jpg +0 -0
- samples/1728645152001__000001000_2.jpg +0 -0
- samples/1728645986432__000001500_0.jpg +0 -0
- samples/1728646011021__000001500_1.jpg +0 -0
- samples/1728646035602__000001500_2.jpg +0 -0
- samples/1728646872295__000002000_0.jpg +0 -0
- samples/1728646896850__000002000_1.jpg +0 -0
- samples/1728646921402__000002000_2.jpg +0 -0
README.md
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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/1728646872295__000002000_0.jpg
|
15 |
+
text: pixar render of optimus
|
16 |
+
- output:
|
17 |
+
url: samples/1728646896850__000002000_1.jpg
|
18 |
+
text: photograph of optimus riding a cow and wearing a cowboy hat
|
19 |
+
- output:
|
20 |
+
url: samples/1728646921402__000002000_2.jpg
|
21 |
+
text: pixel art of optimus
|
22 |
+
base_model: black-forest-labs/FLUX.1-dev
|
23 |
+
trigger: optimus
|
24 |
+
instance_prompt: optimus
|
25 |
+
license: other
|
26 |
+
license_name: flux-1-dev-non-commercial-license
|
27 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
28 |
+
---
|
29 |
+
# optimus
|
30 |
+
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 `fabian3000`.
|
31 |
+
<Gallery />
|
32 |
+
## Trigger words
|
33 |
+
You should use `optimus` to trigger the image generation.
|
34 |
+
## Download model
|
35 |
+
Weights for this model are available in Safetensors format.
|
36 |
+
[Download](/glif-loradex-trainer/fabian3000_optimus/tree/main) them in the Files & versions tab.
|
37 |
+
|
38 |
+
## License
|
39 |
+
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).
|
40 |
+
|
config.yaml
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
config:
|
2 |
+
name: optimus
|
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/optimus/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 |
+
- pixar render of [trigger]
|
32 |
+
- photograph of [trigger] riding a cow and wearing a cowboy hat
|
33 |
+
- pixel art of [trigger]
|
34 |
+
sample_every: 500
|
35 |
+
sample_steps: 25
|
36 |
+
sampler: flowmatch
|
37 |
+
seed: 42
|
38 |
+
walk_seed: true
|
39 |
+
width: 1024
|
40 |
+
save:
|
41 |
+
dtype: float16
|
42 |
+
max_step_saves_to_keep: 3
|
43 |
+
save_every: 500
|
44 |
+
save_format: diffusers
|
45 |
+
train:
|
46 |
+
batch_size: 1
|
47 |
+
dtype: bf16
|
48 |
+
ema_config:
|
49 |
+
ema_decay: 0.99
|
50 |
+
use_ema: true
|
51 |
+
gradient_accumulation_steps: 1
|
52 |
+
gradient_checkpointing: true
|
53 |
+
linear_timesteps: true
|
54 |
+
loss_type: mse
|
55 |
+
lr: 0.0002
|
56 |
+
noise_scheduler: flowmatch
|
57 |
+
optimizer: adamw8bit
|
58 |
+
reg_weight: 1.0
|
59 |
+
steps: 2000
|
60 |
+
target_noise_multiplier: 1.0
|
61 |
+
train_text_encoder: false
|
62 |
+
train_unet: true
|
63 |
+
training_folder: /root/lorahub
|
64 |
+
trigger_word: optimus
|
65 |
+
type: sd_trainer
|
66 |
+
job: extension
|
67 |
+
meta:
|
68 |
+
description: ''
|
optimus.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e3cb6686e577f50bc32931b137905f20dc0cc25e20763e36f8eb153f2c4c43f
|
3 |
+
size 451202696
|
optimus_000000500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dccf4b05fa434fce5210d325c6ad60e522eb519a335e21d766cfea3746eda64c
|
3 |
+
size 451202696
|
optimus_000001000.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e8bff82892afe6bb6d42f9ee81a253a05d0c447660107e2f7a6a5454735ab78
|
3 |
+
size 451202696
|
optimus_000001500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b60c2c32cc4467c9e7ee9e79e3e142f6130e04c4be15c55ee11928ba7bc4cee
|
3 |
+
size 451202696
|
samples/1728643313296__000000000_0.jpg
ADDED
samples/1728643337820__000000000_1.jpg
ADDED
samples/1728643362349__000000000_2.jpg
ADDED
samples/1728644211141__000000500_0.jpg
ADDED
samples/1728644235791__000000500_1.jpg
ADDED
samples/1728644260434__000000500_2.jpg
ADDED
samples/1728645102811__000001000_0.jpg
ADDED
samples/1728645127410__000001000_1.jpg
ADDED
samples/1728645152001__000001000_2.jpg
ADDED
samples/1728645986432__000001500_0.jpg
ADDED
samples/1728646011021__000001500_1.jpg
ADDED
samples/1728646035602__000001500_2.jpg
ADDED
samples/1728646872295__000002000_0.jpg
ADDED
samples/1728646896850__000002000_1.jpg
ADDED
samples/1728646921402__000002000_2.jpg
ADDED