Downloads · 30 days
13
9% of all-time downloads
yinggzhang/WeGenBench-Consistency-COT
WeGenBench-Consistency-COT is a image-text-to-text model from yinggzhang. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
A sharp-eyed multimodal judge for text-to-image prompt consistency. Give it a generated image and its source prompt; it scores like a reviewer, deducts like a quality inspector, and explains like an annotation expert.
Downloads · 30 days
13
9% of all-time downloads
All-time downloads
139
Public
Parameters
770K
17.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors17.5 GB · 100%
From the Hugging Face model README
A sharp-eyed multimodal judge for text-to-image prompt consistency.
Give it a generated image and its source prompt; it scores like a reviewer, deducts like a quality inspector, and explains like an annotation expert.
WeGen-Consistency-CoT is a text-to-image consistency evaluation model fully fine-tuned from Qwen3-VL-8B-Instruct. It is designed for long, detailed prompts and focuses on whether a generated image faithfully follows the prompt. The model returns a structured judgment with a 1-10 score, total deduction, overall assessment, and fine-grained deduction reasons.

This model is intended to be used as the consistency judge in the WeGenBench evaluation pipeline. For the benchmark, data format, and full evaluation workflow, please refer to the official repository: WeChatCV/WeGenBench.
Instead of producing only a black-box score, the model decomposes prompt-image mismatches into interpretable error categories, such as missing entities, wrong counts, incorrect attributes, reversed actions, mismatched materials, distorted text, or composition errors. It is useful for automatic text-to-image evaluation, badcase mining, data filtering, regression testing, and human review assistance.
entity, appearance, activity, counting, shape, material, text, and composition.max_length=32768, making the model suitable for complex prompts with many visual constraints.swift sft on top of Qwen3-VL-8B-Instruct for reproducible fine-tuning and evaluation.Input:
Output:
Score: 7/10, Total deduction: 3
Overall assessment: The main subject, composition, and overall style are mostly aligned with the prompt, but the biological details of the rear body do not fully match the requested insect abdomen.
Deduction details:
1. appearance: The prompt asks for a bee-like abdomen and tail, but the generated rear body looks more like a furry cat tail instead of a typical insect abdomen. Deduct 3 points.
The model follows a deduction-based consistency evaluation scheme. It starts from a maximum score of 10 and deducts points for explicit, observable prompt constraints that are not correctly reflected in the generated image.
The recommended evaluation prompt is:
Your task is to evaluate text-to-image consistency. Based on the given image and prompt, judge how well the generated image matches the prompt. Give a score from 1 to 10. First provide an overall assessment, then list the deduction details and error reasons. The prompt is:
Append the original generation prompt after this instruction and pass the image together with the text.
For automatic parsing and downstream evaluation, we recommend the following format:
Score: <1-10>/10, Total deduction: <0-10>
Overall assessment: <overall consistency judgment>
Deduction details:
1. <category>: <prompt requirement>, <actual image mismatch>. Deduct <points> points.
2. <category>: <prompt requirement>, <actual image mismatch>. Deduct <points> points.
Common deduction categories:
| Category | Meaning |
|---|---|
entity | Missing entity, wrong entity, or mismatched subject |
appearance | Incorrect appearance, color, clothing, or local visual attribute |
activity | Wrong action, pose, gesture, or interaction |
counting | Incorrect number of objects or people |
shape | Incorrect shape, structure, or geometry |
material | Incorrect material, texture, or surface quality |
text | Missing, distorted, unreadable, or incorrect text |
composition | Incorrect viewpoint, layout, subject scale, or framing |
We recommend using TransformersEngine from ms-swift:
from swift.infer_engine import TransformersEngine, RequestConfig, InferRequest
MODEL_PATH = "yinggzhang/WeGenBench-Consistency-COT"
IMAGE_PATH = "example.png"
PROMPT = "A classic BMW sedan is parked in an indoor environment, with smooth body lines..."
judge_prompt = (
"Your task is to evaluate text-to-image consistency. Based on the given image and prompt, "
"judge how well the generated image matches the prompt. Give a score from 1 to 10. "
"First provide an overall assessment, then list the deduction details and error reasons. "
"The prompt is:"
)
engine = TransformersEngine(MODEL_PATH, max_batch_size=1)
request_config = RequestConfig(max_tokens=1024, temperature=0)
request = InferRequest(
messages=[{"role": "user", "content": judge_prompt + PROMPT}],
images=[IMAGE_PATH],
)
response = engine.infer([request], request_config)[0]
print(response.choices[0].message.content)
If you find this model useful, please cite:
@misc{liang2026wegenbenchmultidimensionaldiagnosticbenchmark,
title={WeGenBench: A Multidimensional Diagnostic Benchmark towards Text-to-Image Model Optimization},
author={Qian Liang and Xiaomin Li and Ying Zhang and Jia Xu and Lihao Ni and Hongrui Li and Jingjing Li and Jing Lyu and Chen Li},
year={2026},
eprint={2606.20100},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2606.20100},
}
For questions, feedback, or collaboration, please contact [email protected].