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
ced29179
Unverified
Commit
ced29179
authored
Jun 14, 2023
by
Lintang Sutawika
Committed by
GitHub
Jun 14, 2023
Browse files
Update __init__.py
parent
50423907
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+4
-3
No files found.
lm_eval/tasks/__init__.py
View file @
ced29179
...
@@ -39,9 +39,10 @@ def include_task_folder(task_dir):
...
@@ -39,9 +39,10 @@ def include_task_folder(task_dir):
)
)
if
"task"
in
config
:
if
"task"
in
config
:
task_name
=
"{}:{}"
.
format
(
# task_name = "{}:{}".format(
get_task_name_from_config
(
config
),
config
[
"task"
]
# get_task_name_from_config(config), config["task"]
)
# )
task_name
=
"{}"
.
format
(
config
[
"task"
])
register_task
(
task_name
)(
SubClass
)
register_task
(
task_name
)(
SubClass
)
if
"group"
in
config
:
if
"group"
in
config
:
...
...
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