We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2b7fc7 commit d3adb98Copy full SHA for d3adb98
tests/test_trainer.py
@@ -193,7 +193,9 @@ def test_training_arguments_are_left_untouched(self):
193
trainer = get_regression_trainer()
194
trainer.train()
195
args = TrainingArguments("./regression")
196
- self.assertEqual(args.to_dict(), trainer.args.to_dict())
+ dict1, dict2 = args.to_dict(), trainer.args.to_dict()
197
+ for key in dict1.keys():
198
+ self.assertEqual(dict1[key], dict2[key])
199
200
def test_reproducible_training(self):
201
# Checks that training worked, model trained and seed made a reproducible training.
0 commit comments