PakNin commited on
Commit
27a79af
·
verified ·
1 Parent(s): 9b30d66

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/1777822294363__000001000_0.jpg filter=lfs diff=lfs merge=lfs -text
37
+ samples/1777822395149__000001000_1.jpg filter=lfs diff=lfs merge=lfs -text
38
+ samples/1777822495797__000001000_2.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - lora
5
+ - diffusers
6
+ - template:sd-lora
7
+ - ai-toolkit
8
+ widget:
9
+ - text: "\u5DE2\u6E56\u3001\u6E14\u8239\u3001\u6E14\u6C11\u6492\u7F51"
10
+ output:
11
+ url: samples/1777822294363__000001000_0.jpg
12
+ - text: "\u5DE2\u6E56\u3001\u6E14\u8239\u3001\u6E14\u6C11\u6492\u7F51\u3001\u570B\
13
+ \u756B\u98A8"
14
+ output:
15
+ url: samples/1777822395149__000001000_1.jpg
16
+ - text: "\u5DE2\u6E56\u3001\u6E14\u8239\u3001\u6E14\u6C11\u6492\u7F51\u3001\u4E24\
17
+ \u5CB8\u9752\u5C71\u3001\u88D5\u6EAA\u6CB3\u7530\u56ED\u5C71\u666F"
18
+ output:
19
+ url: samples/1777822495797__000001000_2.jpg
20
+ base_model: Qwen/Qwen-Image
21
+ instance_prompt: 巢湖
22
+ license: creativeml-openrail-m
23
+
24
+
25
+ ---
26
+
27
+ # chao-hu
28
+ Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
29
+ <Gallery />
30
+
31
+ ## Trigger words
32
+
33
+ You should use `巢湖` to trigger the image generation.
34
+
35
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
36
+
37
+ Weights for this model are available in Safetensors format.
38
+
39
+ [Download](/PakNin/chao-hu/tree/main) them in the Files & versions tab.
40
+
41
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
42
+
43
+ ```py
44
+ from diffusers import AutoPipelineForText2Image
45
+ import torch
46
+
47
+ pipeline = AutoPipelineForText2Image.from_pretrained('Qwen/Qwen-Image', torch_dtype=torch.float16).to('cuda')
48
+ pipeline.load_lora_weights('PakNin/chao-hu', weight_name='chao-hu.safetensors')
49
+ image = pipeline('巢湖、渔船、渔民撒网').images[0]
50
+ image.save("my_image.png")
51
+ ```
52
+
53
+ 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)
54
+
chao-hu.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c75d8d1d9d73c2df4ad2abeb4c692fd5184cfc8afa3efec7945782501a8ef05
3
+ size 295144552
chao-hu_000000250.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c365b16621d7a437674beb8c8f1ae20f1410ff7b964b5ffd7dbb8b5f98a3950
3
+ size 295144552
chao-hu_000000500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f19aafb524112dddeb21b952d2bc9ed32717915354e4eee486653e71c18eb9d3
3
+ size 295144552
chao-hu_000000750.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:101380c668d4c831a4f75611f33b71d73efe081b5de9968c150c7012d340aca8
3
+ size 295144552
config.yaml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: chao-hu
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: true
17
+ hf_repo_id: PakNin/chao-hu
18
+ hf_private: true
19
+ datasets:
20
+ - folder_path: datasets/a886e7d4-3b5e-49d5-93dd-acee9dcbf703
21
+ caption_ext: txt
22
+ caption_dropout_rate: 0.05
23
+ shuffle_tokens: false
24
+ cache_latents_to_disk: true
25
+ resolution:
26
+ - 512
27
+ - 768
28
+ - 1024
29
+ train:
30
+ batch_size: 1
31
+ cache_text_embeddings: true
32
+ steps: 1000
33
+ gradient_accumulation: 1
34
+ train_unet: true
35
+ train_text_encoder: false
36
+ gradient_checkpointing: true
37
+ noise_scheduler: flowmatch
38
+ optimizer: adamw8bit
39
+ lr: 0.0004
40
+ dtype: bf16
41
+ skip_first_sample: true
42
+ disable_sampling: false
43
+ model:
44
+ name_or_path: Qwen/Qwen-Image
45
+ arch: qwen_image
46
+ quantize: true
47
+ qtype: uint3|ostris/accuracy_recovery_adapters/qwen_image_torchao_uint3.safetensors
48
+ quantize_te: true
49
+ qtype_te: qfloat8
50
+ low_vram: true
51
+ sample:
52
+ sampler: flowmatch
53
+ sample_every: 1000
54
+ width: 1024
55
+ height: 1024
56
+ prompts:
57
+ - "\u5DE2\u6E56\u3001\u6E14\u8239\u3001\u6E14\u6C11\u6492\u7F51"
58
+ - "\u5DE2\u6E56\u3001\u6E14\u8239\u3001\u6E14\u6C11\u6492\u7F51\u3001\u570B\u756B\
59
+ \u98A8"
60
+ - "\u5DE2\u6E56\u3001\u6E14\u8239\u3001\u6E14\u6C11\u6492\u7F51\u3001\u4E24\u5CB8\
61
+ \u9752\u5C71\u3001\u88D5\u6EAA\u6CB3\u7530\u56ED\u5C71\u666F"
62
+ neg: ''
63
+ seed: 42
64
+ walk_seed: true
65
+ guidance_scale: 3
66
+ sample_steps: 28
67
+ trigger_word: "\u5DE2\u6E56"
68
+ meta:
69
+ name: chao-hu
70
+ version: '1.0'
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84026f85915a2f0d2f4ad9d1808d2995b885b18b08e847c2823d1efe12b2acd9
3
+ size 300297276
samples/1777822294363__000001000_0.jpg ADDED

Git LFS Details

  • SHA256: 7c49acd177aa1e59ca4e199dce3bfd1b459fa8e80cfaa41d69fff25b69e2627b
  • Pointer size: 131 Bytes
  • Size of remote file: 128 kB
samples/1777822395149__000001000_1.jpg ADDED

Git LFS Details

  • SHA256: 3207bccf437d43e6cc0a68c7549131b769b8b0c21e4b80a1946b33b75f551805
  • Pointer size: 131 Bytes
  • Size of remote file: 135 kB
samples/1777822495797__000001000_2.jpg ADDED

Git LFS Details

  • SHA256: 902235e6f1847afc6d40b74c4528dce5ebafbc1a619f11b14ceb9a15b9bb0a08
  • Pointer size: 131 Bytes
  • Size of remote file: 190 kB