Skip to content

Commit

Permalink
quick sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
Parry-Parry committed Nov 6, 2024
1 parent c2bdcdb commit 2db4c7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rankers/train/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def __init__(self, loss_fn=None, **kwargs) -> None:
self.loss = loss_fn
self.tokenizer = self.data_collator.tokenizer
self.model.config.group_size = self.args.group_size
print(self.callback_handler.callbacks)

def compute_loss(self, model, inputs, return_outputs=False):
outputs = model(self.loss, **inputs)
Expand Down

0 comments on commit 2db4c7b

Please sign in to comment.