Kvisten commited on
Commit
1a8d0f7
1 Parent(s): 9bdf732

Upload 8 files

Browse files
README.md CHANGED
@@ -1,3 +1,67 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - flux
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ - ai-toolkit
9
+ widget:
10
+ - text: a green aluminum can of 'NOCCO BCAA+ Apple' energy drink on a rock in a
11
+ foggy forest
12
+ output:
13
+ url: samples/1727181393674__000002500_0.jpg
14
+ - text: a green aluminum can of 'NOCCO BCAA+ Apple' energy drink can in a hand of
15
+ a person
16
+ output:
17
+ url: samples/1727181430166__000002500_1.jpg
18
+ - text: a green aluminum can of 'NOCCO BCAA+ Apple' can on a sandy beach at sunset,
19
+ surrounded by seashells and gentle ocean waves
20
+ output:
21
+ url: samples/1727181466660__000002500_2.jpg
22
+ - text: Taylor swift holding a green aluminum can NOCCO BCAA+ Apple energy drink
23
+ can
24
+ output:
25
+ url: samples/1727181503160__000002500_3.jpg
26
+ - text: '''NOCCO BCAA+ Apple'' can, green aluminum can dropping into crystal-clear
27
+ water, apple taste, commercial-style, the water should create dramatic splashes
28
+ and bubbles, surrounding the can in all directions, capturing the moment
29
+ of impact, high-resolution, colorful, (from above:1.2), photo by Gregory
30
+ Colbert'
31
+ output:
32
+ url: samples/1727181539672__000002500_4.jpg
33
+ base_model: black-forest-labs/FLUX.1-dev
34
+ instance_prompt: XN0APBCX
35
+ license: other
36
+ license_name: flux-1-dev-non-commercial-license
37
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
38
+ ---
39
+
40
+ # nocco_apple_v6
41
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
42
+ <Gallery />
43
+
44
+ ## Trigger words
45
+
46
+ You should use `XN0APBCX` to trigger the image generation.
47
+
48
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
49
+
50
+ Weights for this model are available in Safetensors format.
51
+
52
+ [Download](/None/tree/main) them in the Files & versions tab.
53
+
54
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
55
+
56
+ ```py
57
+ from diffusers import AutoPipelineForText2Image
58
+ import torch
59
+
60
+ pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
61
+ pipeline.load_lora_weights('None', weight_name='nocco_apple_v6.safetensors')
62
+ image = pipeline('a green aluminum can of 'NOCCO BCAA+ Apple' energy drink on a rock in a foggy forest').images[0]
63
+ image.save("my_image.png")
64
+ ```
65
+
66
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
67
+
config.yaml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: nocco_apple_v6
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: ./output/flux_lora_nocco
7
+ device: cuda:0
8
+ trigger_word: XN0APBCX
9
+ network:
10
+ type: lora
11
+ linear: 16
12
+ linear_alpha: 16
13
+ save:
14
+ dtype: float16
15
+ save_every: 250
16
+ max_step_saves_to_keep: 4
17
+ push_to_hub: true
18
+ datasets:
19
+ - folder_path: ./nocco_me
20
+ caption_ext: txt
21
+ caption_dropout_rate: 0.05
22
+ shuffle_tokens: false
23
+ cache_latents_to_disk: true
24
+ resolution:
25
+ - 512
26
+ - 768
27
+ - 1024
28
+ train:
29
+ batch_size: 1
30
+ steps: 2500
31
+ gradient_accumulation_steps: 1
32
+ train_unet: true
33
+ train_text_encoder: false
34
+ gradient_checkpointing: true
35
+ noise_scheduler: flowmatch
36
+ optimizer: adamw8bit
37
+ lr: 0.0001
38
+ skip_first_sample: true
39
+ ema_config:
40
+ use_ema: true
41
+ ema_decay: 0.99
42
+ dtype: bf16
43
+ model:
44
+ name_or_path: black-forest-labs/FLUX.1-dev
45
+ is_flux: true
46
+ quantize: true
47
+ sample:
48
+ sampler: flowmatch
49
+ sample_every: 250
50
+ width: 1024
51
+ height: 1024
52
+ prompts:
53
+ - a green aluminum can of 'NOCCO BCAA+ Apple' energy drink on a rock in a foggy
54
+ forest
55
+ - a green aluminum can of 'NOCCO BCAA+ Apple' energy drink can in a hand of
56
+ a person
57
+ - a green aluminum can of 'NOCCO BCAA+ Apple' can on a sandy beach at sunset,
58
+ surrounded by seashells and gentle ocean waves
59
+ - Taylor swift holding a green aluminum can NOCCO BCAA+ Apple energy drink can
60
+ - '''NOCCO BCAA+ Apple'' can, green aluminum can dropping into crystal-clear
61
+ water, apple taste, commercial-style, the water should create dramatic splashes
62
+ and bubbles, surrounding the can in all directions, capturing the moment
63
+ of impact, high-resolution, colorful, (from above:1.2), photo by Gregory
64
+ Colbert'
65
+ neg: ''
66
+ seed: 42
67
+ walk_seed: true
68
+ guidance_scale: 4
69
+ sample_steps: 20
70
+ meta:
71
+ name: nocco_apple_v6
72
+ version: '1.0'
nocco_apple_v6.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:264b742860b0a1efdca6c0787a7d046d388383b332b964f9c74ceae06d32ee94
3
+ size 171969408
nocco_apple_v6_000001500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79a3fc8cdb0a74360c49240c3edca286d790e366acb91b67ed1cd16581ff93f2
3
+ size 171969408
nocco_apple_v6_000001750.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76fcaef5788f408200a9dcb3fd00104ccbb5353def3e6d54dc61aebe4b34f459
3
+ size 171969408
nocco_apple_v6_000002000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71bbfbb7a5b0f92709a0436ebd86cac4040210b3371dff93aeb482a853f61d77
3
+ size 171969408
nocco_apple_v6_000002250.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e376480b017be65dcabe07a3f83e907a11944442ab9e6b967e5715f6a7e0c627
3
+ size 171969408
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f7742aa24596fbb50df7b5c0da69641074fbe57b3d387bddc973c3728343424
3
+ size 175676612