Skip to content

Commit

Permalink
fix on --task list (EleutherAI#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
lintangsutawika authored Feb 2, 2024
1 parent 9a90215 commit 7411947
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lm_eval/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ def cli_evaluate(args: Union[argparse.Namespace, None] = None) -> None:
sys.exit()
elif args.tasks == "list":
eval_logger.info(
"Available Tasks:\n - {}".format("\n - ".join(task_manager.all_tasks()))
"Available Tasks:\n - {}".format("\n - ".join(task_manager.all_tasks))
)
sys.exit()
else:
if os.path.isdir(args.tasks):
import glob
Expand Down

0 comments on commit 7411947

Please sign in to comment.