Downloads · 30 days
71
6% of all-time downloads
CodeGoat24/UnifiedReward-Edit-qwen35-4b
UnifiedReward-Edit-qwen35-4b is a machine learning model from CodeGoat24. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
UnifiedReward-Edit-qwen35-4b is a unified reward model for both Text-to-Image and Image-to-Image generation!! For image editing reward task, our models support:
Downloads · 30 days
71
6% of all-time downloads
All-time downloads
1.3K
Public
Parameters
5.2B
10.4 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors10.4 GB · 100%
From the Hugging Face model README
UnifiedReward-Edit-qwen35-4b is a unified reward model for both Text-to-Image and Image-to-Image generation!! For image editing reward task, our models support:
Pairwise Rank — directly judge which of two edited images is better.
Pairwise Score — assign a separate score to each image in a pair.
Pointwise Score — rate a single image on two axes: instruction-following and overall image quality.
🚀 The image editing reward inference code is available at UnifiedReward-Edit/ directory, while T2I inference code is unchanged from previous models. The editing training data is preprocessed from EditScore and EditReward. We sincerely appreciate all contributors!!
For further details, please refer to the following resources:
export VLLM_DISABLE_FLASHINFER_GDN_PREFILL=1
export TOKENIZERS_PARALLELISM=false
vllm serve CodeGoat24/UnifiedReward-Edit-qwen35-4b \
--host localhost \
--port 8080 \
--trust-remote-code \
--served-model-name UnifiedReward \
--gpu-memory-utilization 0.95 \
--mm-encoder-tp-mode data \
--mm-processor-cache-type shm \
--enable-prefix-caching \
--tensor-parallel-size 8 \
--default-chat-template-kwargs '{"enable_thinking": false}'
The inference code is provided here.
@article{unifiedreward,
title={Unified reward model for multimodal understanding and generation},
author={Wang, Yibin and Zang, Yuhang and Li, Hao and Jin, Cheng and Wang, Jiaqi},
journal={arXiv preprint arXiv:2503.05236},
year={2025}
}