starsfriday commited on
Commit
40ac90a
·
verified ·
1 Parent(s): 7decc42

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ samples/result1.png filter=lfs diff=lfs merge=lfs -text
37
+ samples/result2.png filter=lfs diff=lfs merge=lfs -text
38
+ samples/result3.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - black-forest-labs/FLUX.1-Kontext-dev
7
+ tags:
8
+ - image-generation
9
+ - lora
10
+ - kontext
11
+ pipeline_tag: image-to-image
12
+ library_name: diffusers
13
+ widget:
14
+ - text: turn the characters in the image into the cute Russian nesting dolls in Q version,with a total of five from large to small, placed on an exquisite wooden table
15
+ output:
16
+ url: samples/result1.png
17
+ - text: turn the characters in the image into the cute Russian nesting dolls in Q version,with a total of five from large to small, placed on an exquisite wooden table
18
+ output:
19
+ url: samples/result2.png
20
+ - text: turn the characters in the image into the cute Russian nesting dolls in Q version,with a total of five from large to small, placed on an exquisite wooden table
21
+ output:
22
+ url: samples/result3.png
23
+ ---
24
+ # valiantcat Kontext Dev LoRA
25
+
26
+ <Gallery />
27
+
28
+ ## Model Card for Model ID
29
+
30
+ <!-- Provide a quick summary of what the model is/does. -->
31
+
32
+ This is a model for style transfer, trained on ```black-forest-labs/FLUX.1-Kontext-dev```, and it is mainly used to generate five Russian matryoshka dolls from large to small for image stylization.For use in ```ComfyUI```.
33
+
34
+
35
+ ## Model description
36
+
37
+
38
+ ## Trigger phrase
39
+
40
+ ```turn the characters in the image into the cute Russian nesting dolls in Q version,with a total of five from large to small, placed on an exquisite wooden table```
41
+
42
+
43
+ ## Download model
44
+
45
+ Weights for this model are available in Safetensors format.
46
+
47
+ [Download](https://huggingface.co/valiantcat/Kontext-Doll-LoRA)
48
+
49
+ ## Training at Chongqing Valiant Cat
50
+
51
+ This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(```https://vvicat.com/```).Business cooperation is welcome
config.yaml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: kontext_taowa
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: output
7
+ device: cuda:0
8
+ network:
9
+ type: lora
10
+ linear: 16
11
+ linear_alpha: 16
12
+ save:
13
+ dtype: float16
14
+ save_every: 250
15
+ max_step_saves_to_keep: 4
16
+ push_to_hub: false
17
+ datasets:
18
+ - folder_path: datasets/taowa_training/images
19
+ control_path: datasets/taowa_training/controls
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: 4000
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
+ timestep_type: weighted
39
+ dtype: bf16
40
+ model:
41
+ name_or_path: black-forest-labs/FLUX.1-Kontext-dev
42
+ arch: flux_kontext
43
+ quantize: true
44
+ sample:
45
+ sampler: flowmatch
46
+ sample_every: 250
47
+ width: 1024
48
+ height: 1024
49
+ prompts:
50
+ - turn the characters in the image into the cute Russian nesting dolls in Q
51
+ version,with a total of five from large to small, placed on an exquisite wooden
52
+ table. --ctrl_img datasets/taowa_training/controls/object_01.png
53
+ neg: ''
54
+ seed: 42
55
+ walk_seed: true
56
+ guidance_scale: 4
57
+ sample_steps: 20
58
+ meta:
59
+ name: kontext_taowa
60
+ version: '1.0'
kontext_taowa.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b5d014122695383318f3e8d78759cf43a450100dff4c0a94d46c8f86ef920b0
3
+ size 171969360
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:641513c79a0e99d901c8e6dabb956d12e169d7be607a2b3ee602c8e68b71c212
3
+ size 175676612
samples/result1.png ADDED

Git LFS Details

  • SHA256: 3648ff6742672f16ae31e6f3ac8bd6ab94c2b9db8b83d7a3c0f2fd6a8796f525
  • Pointer size: 132 Bytes
  • Size of remote file: 5.59 MB
samples/result2.png ADDED

Git LFS Details

  • SHA256: 4412f122c41ef299736d3cd2cbf90e8b05bb37b6719a4af1667f9e70383894eb
  • Pointer size: 132 Bytes
  • Size of remote file: 5.53 MB
samples/result3.png ADDED

Git LFS Details

  • SHA256: 4e5e055e1e89e1ce64eb5c0daa90984a627a97fe173b530c789352d2e6af154b
  • Pointer size: 132 Bytes
  • Size of remote file: 8.51 MB