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
db50055e
Commit
db50055e
authored
Jan 22, 2024
by
lintangsutawika
Browse files
removed comments
parent
e5e6b286
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+0
-1
No files found.
lm_eval/tasks/__init__.py
View file @
db50055e
...
@@ -122,7 +122,6 @@ class TaskManager(abc.ABC):
...
@@ -122,7 +122,6 @@ class TaskManager(abc.ABC):
group_name
=
name_or_config
[
"group"
]
group_name
=
name_or_config
[
"group"
]
subtask_list
=
name_or_config
[
"task"
]
subtask_list
=
name_or_config
[
"task"
]
# What if group name is not registed/is new?
if
(
self
.
_name_is_registered
(
group_name
)
is
False
)
or
(
self
.
_get_yaml_path
(
group_name
)
==
-
1
):
if
(
self
.
_name_is_registered
(
group_name
)
is
False
)
or
(
self
.
_get_yaml_path
(
group_name
)
==
-
1
):
all_subtasks
=
{
group_name
:
(
parent_name
,
None
)}
all_subtasks
=
{
group_name
:
(
parent_name
,
None
)}
else
:
else
:
...
...
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