Skip to content

Conversation

@KemingWu
Copy link
Collaborator

@KemingWu KemingWu commented Dec 5, 2025

Add GEdit-Bench and ImgEdit-Bench Eval Task and Modify Bagel model for inference
GEdit-Bench Results:
image

ImgEdit-Bench Results:
image

@KemingWu KemingWu requested a review from kcz358 December 5, 2025 06:20
Comment on lines +1060 to +1064
# Ensure dataset is a DatasetDict so downstream logic that expects multiple splits works.
if not isinstance(self.dataset, datasets.DatasetDict):
split_name = self.config.test_split or self.config.validation_split or self.config.training_split or "train"
self.dataset = datasets.DatasetDict({split_name: self.dataset})

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a too ground breaking changes. Might break too much

Comment on lines +1071 to +1074
try:
self.dataset_no_image = self.dataset.copy()
except AttributeError:
self.dataset_no_image = datasets.DatasetDict({k: v for k, v in self.dataset.items()})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be breaking changes also. Consider not to use this.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, edit and gen doesn't seems should be fixed. It simply depends on the input.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to put the entire source code into here.

Copy link
Collaborator

@kcz358 kcz358 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too much breaking changes here in this PR. I would recommend to clean up and re-open a new one later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants