Williechai commited on
Commit
b90fed9
·
verified ·
1 Parent(s): ef6562b

Publish Ming-Image-0.1-Design release package

Browse files

Publish the validated component-config package and refreshed model card assets; remove the legacy root inference_profile.json.

.gitattributes CHANGED
@@ -34,3 +34,5 @@ saved_model/**/* 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
  mllm/tokenizer.json 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
  mllm/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ assets/showcase.webp filter=lfs diff=lfs merge=lfs -text
38
+ assets/transparency_showcase.webp filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 inclusionAI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md CHANGED
@@ -1,3 +1,83 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ pipeline_tag: text-to-image
4
+ inference: false
5
+ tags:
6
+ - text-to-image
7
+ - image-generation
8
+ - graphic-design
9
+ - text-rendering
10
+ - rgba
11
  ---
12
+
13
+ # Ming-Image-0.1-Design
14
+
15
+ Ming-Image-0.1-Design is a 6B text-to-image model for UI, infographics,
16
+ posters, and other text-rich visual designs. It generates complete visual
17
+ compositions and supports RGBA output with transparent backgrounds.
18
+
19
+ ## Quick Start
20
+
21
+ Use the companion [Ming-Image repository](https://github.com/inclusionAI/Ming-Image)
22
+ for installation and inference:
23
+
24
+ ```bash
25
+ git clone https://github.com/inclusionAI/Ming-Image
26
+ cd Ming-Image
27
+ pip install -r requirements.txt
28
+
29
+ python infer.py \
30
+ --model inclusionAI/Ming-Image-0.1-Design \
31
+ --task text-to-image \
32
+ --prompt assets/t2i_four_seasons_cabin_prompt.json \
33
+ --resolution 2048 \
34
+ --output-dir outputs/t2i
35
+ ```
36
+
37
+ Prompt enhancement (PE) can use `Ling-3.0-flash-VL` or `qwen3.8-27B`; see
38
+ [text-to-image prompt rewriting](https://github.com/inclusionAI/Ming-Image#text-to-image-prompt-rewriting).
39
+
40
+ ### Transparent-background generation
41
+
42
+ For transparent-background generation, prepend exactly one of the recommended
43
+ RGBA phrases. See the
44
+ [transparent-background generation tip](https://github.com/inclusionAI/Ming-Image#transparent-background-generation-tip).
45
+
46
+ ## Recommended settings
47
+
48
+ - Resolution: **2048 x 2048** (recommended), or **1024 x 1024** for faster
49
+ generation.
50
+ - Sampling steps: **12**.
51
+ - CFG scale: **1.0**.
52
+ - Precision: **BF16**.
53
+ - Hardware: **one CUDA GPU with 80 GiB VRAM** (validated configuration).
54
+
55
+ The public inference code maps text-to-image resolution requests to the
56
+ supported 1024 or 2048 bucket.
57
+
58
+ ## Gallery
59
+
60
+ ### Text-to-image
61
+
62
+ <p align="center">
63
+ <img src="./assets/showcase.webp" width="100%" alt="Ming-Image-0.1-Design generated examples">
64
+ </p>
65
+
66
+ ### Transparent-background text-to-image
67
+
68
+ <p align="center">
69
+ <img src="./assets/transparency_showcase.webp" width="100%" alt="Ming-Image-0.1-Design transparent-background examples">
70
+ </p>
71
+
72
+ The checkerboard is used only to preview transparency; it is not part of the
73
+ generated RGBA images.
74
+
75
+ ## UI/UX Design leaderboard
76
+
77
+ <p align="center">
78
+ <img src="./assets/uiux_leaderboard.webp" width="100%" alt="Ming-Image-0.1-Design UI/UX Design leaderboard">
79
+ </p>
80
+
81
+ ## License
82
+
83
+ This model is released under the [MIT License](./LICENSE).
assets/showcase.webp ADDED

Git LFS Details

  • SHA256: 9c08b25583d74295a2d34d519abd45544927b65d935581e40f0fcf1941c1da24
  • Pointer size: 132 Bytes
  • Size of remote file: 1.65 MB
assets/transparency_showcase.webp ADDED

Git LFS Details

  • SHA256: 2b2a18df09e051ca6c95bada87c99edac2ae917ab9da54d7ed32b328707f55c8
  • Pointer size: 131 Bytes
  • Size of remote file: 201 kB
assets/uiux_leaderboard.webp ADDED
connector/model-00001-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ccf023c5827ad120a3a37e8623f11cef932099239088687afee076aac0b9522f
3
  size 4996670464
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:272ddcaee19a442481f3aac317596e6572e402a2a440ff55299ec1314d0f259d
3
  size 4996670464
connector/model-00002-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:30cfe87b15917c2c1dcc2687b7f859d24250f05474b162664c6dc94d315077d2
3
  size 1178224960
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cbecb5693bc3c8809c6ff1c11565714fd625698a5b6257dcc7b2127579a1a96
3
  size 1178224960
inference_profile.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "schema_version": 1,
3
- "inference_profile": "generation_edit",
4
- "alignment_padding_mode": "zero_masked",
5
- "multi_frame_output": false,
6
- "vae_input_channels": 4,
7
- "vae_sample_mode": "argmax"
8
- }
 
 
 
 
 
 
 
 
 
mllm/config.json CHANGED
@@ -10,11 +10,6 @@
10
  "BailingMoeV2ForCausalLM"
11
  ],
12
  "attention_dropout": 0.0,
13
- "auto_map": {
14
- "AutoConfig": "configuration_bailing_moe_v2.BailingMoeV2Config",
15
- "AutoModel": "modeling_bailing_moe_v2.BailingMoeV2Model",
16
- "AutoModelForCausalLM": "modeling_bailing_moe_v2.BailingMoeV2ForCausalLM"
17
- },
18
  "bad_words_ids": null,
19
  "begin_suppress_tokens": null,
20
  "bos_token_id": null,
@@ -133,10 +128,6 @@
133
  "architectures": [
134
  "Qwen2_5_VisionTransformer"
135
  ],
136
- "auto_map": {
137
- "AutoConfig": "configuration_qwen2_5_vit.Qwen2_5_VLVisionConfig",
138
- "AutoModel": "qwen2_5_vit.Qwen2_5_VisionTransformer"
139
- },
140
  "bad_words_ids": null,
141
  "begin_suppress_tokens": null,
142
  "bos_token_id": null,
 
10
  "BailingMoeV2ForCausalLM"
11
  ],
12
  "attention_dropout": 0.0,
 
 
 
 
 
13
  "bad_words_ids": null,
14
  "begin_suppress_tokens": null,
15
  "bos_token_id": null,
 
128
  "architectures": [
129
  "Qwen2_5_VisionTransformer"
130
  ],
 
 
 
 
131
  "bad_words_ids": null,
132
  "begin_suppress_tokens": null,
133
  "bos_token_id": null,
mllm/preprocessor_config.json CHANGED
@@ -1,28 +1,23 @@
1
  {
2
- "auto_map": {
3
- "AutoImageProcessor": "image_processing_bailingmm2.BailingMM2ImageProcessor",
4
- "AutoProcessor": "processing_bailingmm2.BailingMM2Processor"
5
- },
6
- "min_pixels": 451584,
7
- "max_pixels": 451584,
8
- "patch_size": 14,
9
- "temporal_patch_size": 2,
10
- "merge_size": 2,
11
- "image_mean": [
12
- 0.48145466,
13
- 0.4578275,
14
- 0.40821073
15
- ],
16
- "image_std": [
17
- 0.26862954,
18
- 0.26130258,
19
- 0.27577711
20
- ],
21
- "image_token": "<image>",
22
- "video_token": "<video>",
23
- "image_processor_type": "BailingMM2ImageProcessor",
24
- "return_attention_mask": true,
25
- "padding_side": "right",
26
- "padding_value": 0.0,
27
- "processor_class": "BailingMM2Processor"
28
  }
 
1
  {
2
+ "min_pixels": 451584,
3
+ "max_pixels": 451584,
4
+ "patch_size": 14,
5
+ "temporal_patch_size": 2,
6
+ "merge_size": 2,
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_std": [
13
+ 0.26862954,
14
+ 0.26130258,
15
+ 0.27577711
16
+ ],
17
+ "image_token": "<image>",
18
+ "video_token": "<video>",
19
+ "image_processor_type": "BailingMM2ImageProcessor",
20
+ "return_attention_mask": true,
21
+ "padding_side": "right",
22
+ "padding_value": 0.0
 
 
 
 
 
23
  }
mllm/tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4f5fe09e7484071da5fa93cfb82f7db15c0ebf9b6ee9821599c5a997563ee96
3
- size 12210708
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7ff01708d504f7bf4dbf7f5815adde57bab9a40e7f563ab6ad1acace4464917
3
+ size 12210709
mllm/tokenizer_config.json CHANGED
@@ -2330,13 +2330,5 @@
2330
  "gmask_token": "[gMASK]",
2331
  "merges_file": null,
2332
  "model_max_length": 1000000000000000019884624838656,
2333
- "pad_token": "<|role_end|>",
2334
- "auto_map": {
2335
- "AutoTokenizer": [
2336
- "tokenization_bailing.BailingTokenizer",
2337
- null
2338
- ]
2339
- },
2340
- "tokenizer_class": "BailingTokenizer",
2341
- "trust_remote_code": true
2342
  }
 
2330
  "gmask_token": "[gMASK]",
2331
  "merges_file": null,
2332
  "model_max_length": 1000000000000000019884624838656,
2333
+ "pad_token": "<|role_end|>"
 
 
 
 
 
 
 
 
2334
  }
mlp/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ba35d7bce27a43172f495365537c61ac0bb5f8501b011571c192a5d7354192f
3
  size 124837576
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53e47c1ec942749f07025a41be148f5e8364d8587aa2d954969716abe521b77b
3
  size 124837576
transformer/config.json CHANGED
@@ -29,5 +29,7 @@
29
  "qk_norm": true,
30
  "rope_theta": 256.0,
31
  "siglip_feat_dim": null,
32
- "t_scale": 1000.0
 
 
33
  }
 
29
  "qk_norm": true,
30
  "rope_theta": 256.0,
31
  "siglip_feat_dim": null,
32
+ "t_scale": 1000.0,
33
+ "alignment_padding_mode": "zero_masked",
34
+ "multi_frame_output": false
35
  }
transformer/diffusion_pytorch_model-00001-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a68820b90a033c6ec56a00636ce2f1a3ca04f0034310f0742ef70a377fd027b
3
  size 2990953408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1488ae867d45a4c184fa0df9fde68d8f7bd9c2dea52b611b77fc6bbd685d9d70
3
  size 2990953408
transformer/diffusion_pytorch_model-00002-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eace1e129b86143e8a8fd6166cd9f2a02e6f77016bba716511296eb2ac5f4f92
3
  size 2924069536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f9441923d41408c74bd3761a34eb4db2c583fc08d5785a2c7f2260c8e17089e
3
  size 2924069536
transformer/diffusion_pytorch_model-00003-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:989380816755d4ced4ea8d73d515948be3362a04b458c31a874965d136f9d850
3
  size 2973221624
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45cbd9a557c20c7ae5d676049b301f4856046be2f802f3e9e7de477c77a35b8c
3
  size 2973221624
transformer/diffusion_pytorch_model-00004-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d8755a06f43691440ab4e62269464096616d8b1ecdcde7f44a0aa9f61acc2fea
3
  size 2973221616
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73c70763356a57d5d3cd04e91e714cb0b86081a3e922b594659b58f2ab49bc90
3
  size 2973221616
transformer/diffusion_pytorch_model-00005-of-00005.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:28b667ccbe7a1d6206ebff0f00d169cc1c7adc372421ee9cb8aa32c03daea01a
3
  size 448391960
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c178789512c7f5d45a7b0c1c561f868704cd0fa77d4cb32f8d7ea06b2707781
3
  size 448391960