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
3c284567
Commit
3c284567
authored
Jun 13, 2023
by
haileyschoelkopf
Browse files
missing ALL_TASKS import
parent
483f86d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+1
-2
No files found.
lm_eval/tasks/__init__.py
View file @
3c284567
...
...
@@ -12,6 +12,7 @@ from lm_eval.api.registry import (
register_group
,
TASK_REGISTRY
,
GROUP_REGISTRY
,
ALL_TASKS
,
)
...
...
@@ -58,8 +59,6 @@ def include_task_folder(task_dir):
task_dir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
+
"/"
include_task_folder
(
task_dir
)
# ALL_TASKS = set(sorted(list(TASK_REGISTRY.keys()) + list(GROUP_REGISTRY.keys())))
def
get_task
(
task_name
,
config
):
try
:
...
...
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