Commit ee59182d authored by lintangsutawika's avatar lintangsutawika
Browse files

formatting

parent c605a710
...@@ -7,4 +7,4 @@ logging.basicConfig( ...@@ -7,4 +7,4 @@ logging.basicConfig(
) )
eval_logger = logging.getLogger("lm-eval") eval_logger = logging.getLogger("lm-eval")
SPACING = " "*47 SPACING = " " * 47
\ No newline at end of file
...@@ -131,12 +131,12 @@ def main(): ...@@ -131,12 +131,12 @@ def main():
if os.path.isfile(task): if os.path.isfile(task):
config = utils.load_yaml_config(task) config = utils.load_yaml_config(task)
task_names.append(config) task_names.append(config)
if task_names == []: if task_names == []:
eval_logger.error( eval_logger.error(
"No tasks were detected,\n" "No tasks were detected,\n"
f"{SPACING}Try `lm-eval -h` for list of available tasks", f"{SPACING}Try `lm-eval -h` for list of available tasks",
) )
if args.output_path: if args.output_path:
path = Path(args.output_path) path = Path(args.output_path)
......
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