Skip to content

Commit

Permalink
update save config file
Browse files Browse the repository at this point in the history
  • Loading branch information
akiFQC committed Nov 21, 2024
1 parent a40ce9a commit c357ebd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/jmteb/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ def main(

if len(args.evaluators) == 0:
raise ValueError("No evaluator is selected. Please check the config file or the command line arguments.")

# save config as yaml
parser.save(
args, Path(args.save_dir) / "jmteb_config.yaml", format="yaml", overwrite=True, multifile=False, skip_check=True
)

args = parser.instantiate_classes(args)
if isinstance(args.evaluators, str):
Expand Down

0 comments on commit c357ebd

Please sign in to comment.