fix rm #420, fix template #426, fix #423

Former-commit-id: 70ea3caaa7a7695c77179cd1bb18707a80a373d7
This commit is contained in:
hiyouga
2023-08-09 16:23:31 +08:00
parent 031a819257
commit a3a7465f00
3 changed files with 7 additions and 10 deletions

View File

@@ -156,7 +156,7 @@ class Runner:
else:
yield format_info(logger_handler.log, trainer_callback)
if os.path.exists(os.path.join(output_dir), TRAINING_ARGS_NAME):
if os.path.exists(os.path.join(output_dir, TRAINING_ARGS_NAME)):
finish_info = ALERTS["info_finished"][lang]
else:
finish_info = ALERTS["err_failed"][lang]