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
36da9c66
"mmdet/vscode:/vscode.git/clone" did not exist on "32afa752710bd4154a0de3f246d4ea446f34cf88"
Commit
36da9c66
authored
Jun 05, 2023
by
lintangsutawika
Browse files
removed prefix "configurable" from get_task_name_from_config
parent
9deea116
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+1
-1
No files found.
lm_eval/tasks/__init__.py
View file @
36da9c66
...
...
@@ -15,7 +15,7 @@ from lm_eval.api.register import (
def
get_task_name_from_config
(
task_config
):
return
"
configurable_
{dataset_path}_{dataset_name}"
.
format
(
**
task_config
)
return
"{dataset_path}_{dataset_name}"
.
format
(
**
task_config
)
task_dir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
+
"/"
...
...
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