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
6ae9e9e8
Commit
6ae9e9e8
authored
Sep 26, 2023
by
lintangsutawika
Browse files
remove comments
parent
b2d16321
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+1
-12
No files found.
lm_eval/tasks/__init__.py
View file @
6ae9e9e8
...
@@ -45,18 +45,7 @@ def register_configurable_group(config: Dict[str, str], yaml_path: str = None) -
...
@@ -45,18 +45,7 @@ def register_configurable_group(config: Dict[str, str], yaml_path: str = None) -
task_list
=
[
task
for
task
in
all_task_list
if
type
(
task
)
==
str
]
task_list
=
[
task
for
task
in
all_task_list
if
type
(
task
)
==
str
]
for
task_config
in
config_list
:
for
task_config
in
config_list
:
# assert "task" in task_config:
# task = task_config["task"]
# if task in GROUP_REGISTRY:
# task_list = GROUP_REGISTRY[task]
# elif task in TASK_REGISTRY:
# task_list = [TASK_REGISTRY[task]]
# for _task in task_list:
# task_config = {
# **_task["CONFIG"],
# **task_config
# }
task_config
=
utils
.
load_yaml_config
(
yaml_path
,
task_config
)
task_config
=
utils
.
load_yaml_config
(
yaml_path
,
task_config
)
var_configs
=
check_prompt_config
(
var_configs
=
check_prompt_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