Skip to content

Commit

Permalink
Fix tests of TrainerCallback (huggingface#10615)
Browse files Browse the repository at this point in the history
* Fix tests of TrainerCallback

* Update tests/test_trainer_callback.py

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
  • Loading branch information
2 people authored and Iwontbecreative committed Jul 15, 2021
1 parent e648151 commit 3017fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_trainer_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def get_trainer(self, a=0, b=0, train_len=64, eval_len=64, callbacks=None, disab
config = RegressionModelConfig(a=a, b=b)
model = RegressionPreTrainedModel(config)

args = TrainingArguments(self.output_dir, disable_tqdm=disable_tqdm, **kwargs)
args = TrainingArguments(self.output_dir, disable_tqdm=disable_tqdm, report_to=[], **kwargs)
return Trainer(
model,
args,
Expand Down

0 comments on commit 3017fcb

Please sign in to comment.