mirror of
https://github.com/wassname/SimPO.git
synced 2026-06-27 18:57:43 +08:00
fix double init
This commit is contained in:
@@ -11,7 +11,6 @@ class SimPOTrainer(DPOTrainer):
|
||||
super().__init__(**kwargs) # Pass all other arguments using **kwargs
|
||||
training_args = kwargs["args"]
|
||||
self.gamma = training_args.gamma
|
||||
super().__init__(**kwargs)
|
||||
|
||||
def simpo_loss(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user