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
797f47c7
Unverified
Commit
797f47c7
authored
Jul 05, 2023
by
Lintang Sutawika
Committed by
GitHub
Jul 05, 2023
Browse files
Update __init__.py
parent
d289277d
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 @
797f47c7
...
...
@@ -14,7 +14,7 @@ from lm_eval.api.registry import (
def
get_task_name_from_config
(
task_config
):
if
"dataset_name"
not
in
task_config
:
if
"dataset_name"
in
task_config
:
return
"{dataset_path}_{dataset_name}"
.
format
(
**
task_config
)
else
:
return
"{dataset_path}"
.
format
(
**
task_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