"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "15ab3f049b8d399f4a45b9c8b24c53111bfce665"
Unverified Commit e9adb0c9 authored by Zach Mueller's avatar Zach Mueller Committed by GitHub
Browse files

Change thresh in test (#27378)

Change thresh
parent 085ea7e5
......@@ -169,7 +169,7 @@ class ExamplesTestsNoTrainer(TestCasePlus):
run_command(self._launch_args + testargs)
result = get_results(tmp_dir)
self.assertGreaterEqual(result["eval_accuracy"], 0.75)
self.assertLess(result["train_loss"], 0.5)
self.assertLess(result["train_loss"], 0.6)
self.assertTrue(os.path.exists(os.path.join(tmp_dir, "epoch_0")))
self.assertTrue(os.path.exists(os.path.join(tmp_dir, "ner_no_trainer")))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment