EditScore-code

Mirror of the EditScore source code: the editscore Python package, evaluation scripts and training examples for image-edit reward models.

What it is for

The repo copies the EditScore code repo. It holds the editscore package, which loads an EditScore reward model and scores an image edit against its instruction. It also holds evaluation scripts that benchmark reward models on EditReward-Bench, and examples for training EditScore reward models, best-of-N selection and reinforcement fine-tuning of image editing models. The model weights live in separate repos.

Provenance

Use

hf download chibifire/EditScore-code --local-dir EditScore
cd EditScore
pip install -e .
bash evaluate.sh

Install PyTorch for your CUDA version first. vllm is optional and speeds up inference. See the upstream README for full setup, usage and the training and RL guides under examples/.

Licence

Apache 2.0, the licence of the EditScore code repo. Terms: LICENSE.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Paper for chibifire/EditScore-code