Upload folder using huggingface_hub
Browse files- README.md +40 -0
- config.yaml +69 -0
- halftone.safetensors +3 -0
- halftone_000000500.safetensors +3 -0
- halftone_000001000.safetensors +3 -0
- samples/1733253561757__000000000_0.jpg +0 -0
- samples/1733253586603__000000000_1.jpg +0 -0
- samples/1733253611483__000000000_2.jpg +0 -0
- samples/1733254606824__000000500_0.jpg +0 -0
- samples/1733254631672__000000500_1.jpg +0 -0
- samples/1733254656515__000000500_2.jpg +0 -0
- samples/1733255651143__000001000_0.jpg +0 -0
- samples/1733255676099__000001000_1.jpg +0 -0
- samples/1733255701049__000001000_2.jpg +0 -0
- samples/1733256698038__000001500_0.jpg +0 -0
- samples/1733256722867__000001500_1.jpg +0 -0
- samples/1733256747704__000001500_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/1733256698038__000001500_0.jpg
|
15 |
+
text: halftone style, close-up of a human eye
|
16 |
+
- output:
|
17 |
+
url: samples/1733256722867__000001500_1.jpg
|
18 |
+
text: halftone style, red car poster
|
19 |
+
- output:
|
20 |
+
url: samples/1733256747704__000001500_2.jpg
|
21 |
+
text: halftone style, an illustration of a mouth with tongue out
|
22 |
+
base_model: black-forest-labs/FLUX.1-dev
|
23 |
+
trigger: halftone style
|
24 |
+
instance_prompt: halftone style
|
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 |
+
# halftone
|
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 `saq1b`.
|
31 |
+
<Gallery />
|
32 |
+
## Trigger words
|
33 |
+
You should use `halftone style` to trigger the image generation.
|
34 |
+
## Download model
|
35 |
+
Weights for this model are available in Safetensors format.
|
36 |
+
[Download](/glif-loradex-trainer/saq1b_halftone/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,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
config:
|
2 |
+
name: halftone
|
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/halftone/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 |
+
guidance_scale: 3.5
|
29 |
+
height: 1024
|
30 |
+
neg: ''
|
31 |
+
prompts:
|
32 |
+
- '[trigger], close-up of a human eye'
|
33 |
+
- '[trigger], red car poster'
|
34 |
+
- '[trigger], an illustration of a mouth with tongue out'
|
35 |
+
sample_every: 500
|
36 |
+
sample_steps: 25
|
37 |
+
sampler: flowmatch
|
38 |
+
seed: 42
|
39 |
+
walk_seed: true
|
40 |
+
width: 1024
|
41 |
+
save:
|
42 |
+
dtype: float16
|
43 |
+
max_step_saves_to_keep: 3
|
44 |
+
save_every: 500
|
45 |
+
save_format: diffusers
|
46 |
+
train:
|
47 |
+
batch_size: 1
|
48 |
+
dtype: bf16
|
49 |
+
ema_config:
|
50 |
+
ema_decay: 0.99
|
51 |
+
use_ema: true
|
52 |
+
gradient_accumulation_steps: 1
|
53 |
+
gradient_checkpointing: true
|
54 |
+
linear_timesteps: true
|
55 |
+
loss_type: mse
|
56 |
+
lr: 0.0002
|
57 |
+
noise_scheduler: flowmatch
|
58 |
+
optimizer: adamw8bit
|
59 |
+
reg_weight: 1.0
|
60 |
+
steps: 1500
|
61 |
+
target_noise_multiplier: 1.0
|
62 |
+
train_text_encoder: false
|
63 |
+
train_unet: true
|
64 |
+
training_folder: /root/lorahub
|
65 |
+
trigger_word: halftone style
|
66 |
+
type: sd_trainer
|
67 |
+
job: extension
|
68 |
+
meta:
|
69 |
+
description: Halftone Aesthetic Style LoRA
|
halftone.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7d2e7e3722da076aae4345650834c299361967de1c81c757ecf13370570827e
|
3 |
+
size 451202744
|
halftone_000000500.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1d01365309c1c7ddb241eaaf8f748bb2721563f51d520e8fe62575f58c2e553
|
3 |
+
size 451202744
|
halftone_000001000.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40d51ddf2f22e473678df4f66f9f0b22a8aa179dc692f0e410c4a4e1a57db111
|
3 |
+
size 451202744
|
samples/1733253561757__000000000_0.jpg
ADDED
samples/1733253586603__000000000_1.jpg
ADDED
samples/1733253611483__000000000_2.jpg
ADDED
samples/1733254606824__000000500_0.jpg
ADDED
samples/1733254631672__000000500_1.jpg
ADDED
samples/1733254656515__000000500_2.jpg
ADDED
samples/1733255651143__000001000_0.jpg
ADDED
samples/1733255676099__000001000_1.jpg
ADDED
samples/1733255701049__000001000_2.jpg
ADDED
samples/1733256698038__000001500_0.jpg
ADDED
samples/1733256722867__000001500_1.jpg
ADDED
samples/1733256747704__000001500_2.jpg
ADDED