Unverified Commit 13fd6734 authored by Michele Conti's avatar Michele Conti Committed by GitHub
Browse files

Fix typo (remove parenthesis) (#17415)

parent d156898f
...@@ -1712,7 +1712,7 @@ class Trainer: ...@@ -1712,7 +1712,7 @@ class Trainer:
): ):
raise ValueError(f"Can't find a valid checkpoint at {resume_from_checkpoint}") raise ValueError(f"Can't find a valid checkpoint at {resume_from_checkpoint}")
logger.info(f"Loading model from {resume_from_checkpoint}).") logger.info(f"Loading model from {resume_from_checkpoint}.")
if os.path.isfile(os.path.join(resume_from_checkpoint, CONFIG_NAME)): if os.path.isfile(os.path.join(resume_from_checkpoint, CONFIG_NAME)):
config = PretrainedConfig.from_json_file(os.path.join(resume_from_checkpoint, CONFIG_NAME)) config = PretrainedConfig.from_json_file(os.path.join(resume_from_checkpoint, CONFIG_NAME))
......
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