Commit 7aff9b75 authored by baberabb's avatar baberabb
Browse files

Update error message if task name misspelt

parent 718eaec8
...@@ -85,7 +85,9 @@ def simple_evaluate( ...@@ -85,7 +85,9 @@ def simple_evaluate(
1234 1234
) # TODO: this may affect training runs that are run with evaluation mid-run. ) # TODO: this may affect training runs that are run with evaluation mid-run.
assert tasks != [], "No tasks specified" assert (
tasks != []
), "No tasks specified, or no tasks found. Please verify the task names."
if isinstance(model, str): if isinstance(model, str):
if model_args is None: if model_args is None:
......
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