Skip to content

Commit

Permalink
dont compute metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanLee97 committed Sep 29, 2024
1 parent 271384f commit cfa4f52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions angle_emb/angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,7 @@ def fit(self,
dataset_format=self.detect_dataset_format(train_ds),
train_dataset=train_ds,
eval_dataset=valid_ds,
compute_metrics=None, # do not compute metrics
loss_kwargs=loss_kwargs,
tokenizer=self.tokenizer,
args=TrainingArguments(
Expand Down

0 comments on commit cfa4f52

Please sign in to comment.