Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alekseymalakhov11 authored Dec 13, 2024
1 parent 627b1f0 commit cc063a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbo_alignment/trainers/dpo.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def compute_loss(
return loss, chosen_rewards, rejected_rewards


@DPOLossRegistry.register(DPOLossesType.NCA_PAIT)
@DPOLossRegistry.register(DPOLossesType.NCA_PAIR)
class NCAPairLoss(DPOLossRegistry):
def __init__(self, *args, beta: float = 0.1, **kwargs) -> None:
self.beta = beta
Expand Down

0 comments on commit cc063a9

Please sign in to comment.