Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
2444b364
Commit
2444b364
authored
Nov 17, 2023
by
haileyschoelkopf
Browse files
fix error when using wildcard task names
parent
aa9e1062
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/__main__.py
lm_eval/__main__.py
+1
-1
No files found.
lm_eval/__main__.py
View file @
2444b364
...
@@ -153,7 +153,7 @@ def cli_evaluate(args: Union[argparse.Namespace, None] = None) -> None:
...
@@ -153,7 +153,7 @@ def cli_evaluate(args: Union[argparse.Namespace, None] = None) -> None:
task
task
for
task
in
tasks_list
for
task
in
tasks_list
if
task
not
in
task_names
and
"*"
not
in
task
if
task
not
in
task_names
and
"*"
not
in
task
]
]
# we don't want errors if a wildcard ("*") task name was used
if
task_missing
:
if
task_missing
:
missing
=
", "
.
join
(
task_missing
)
missing
=
", "
.
join
(
task_missing
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment