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
93180118
Commit
93180118
authored
Jan 19, 2024
by
lintangsutawika
Browse files
pre-commit format
parent
4288792e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lm_eval/__main__.py
lm_eval/__main__.py
+3
-1
No files found.
lm_eval/__main__.py
View file @
93180118
...
@@ -165,7 +165,9 @@ def cli_evaluate(args: Union[argparse.Namespace, None] = None) -> None:
...
@@ -165,7 +165,9 @@ def cli_evaluate(args: Union[argparse.Namespace, None] = None) -> None:
if
args
.
tasks
is
None
:
if
args
.
tasks
is
None
:
eval_logger
.
error
(
"Need to specify task to evaluate."
)
eval_logger
.
error
(
"Need to specify task to evaluate."
)
import
sys
;
sys
.
exit
()
import
sys
sys
.
exit
()
elif
args
.
tasks
==
"list"
:
elif
args
.
tasks
==
"list"
:
eval_logger
.
info
(
eval_logger
.
info
(
"Available Tasks:
\n
- {}"
.
format
(
"
\n
- "
.
join
(
sorted
(
ALL_TASKS
.
keys
())))
"Available Tasks:
\n
- {}"
.
format
(
"
\n
- "
.
join
(
sorted
(
ALL_TASKS
.
keys
())))
...
...
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