fix dpo eval override to call grandparent instead of the broken super (#2628) [skip ci]

This commit is contained in:
Wing Lian
2025-05-06 11:18:25 -04:00
parent e1586f7919
commit 5d61169f7c

View File

@@ -247,7 +247,9 @@ class AxolotlDPOTrainer(RngLoaderMixin, SchedulerMixin, DPOTrainer):
)
# Base evaluation
initial_output = super().evaluation_loop(
initial_output = super( # pylint: disable=bad-super-call
DPOTrainer, self
).evaluation_loop(
dataloader,
description,
prediction_loss_only,