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
37a46351
Commit
37a46351
authored
Nov 28, 2023
by
lintangsutawika
Browse files
reformat
parent
525afc17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lm_eval/api/task.py
lm_eval/api/task.py
+3
-1
No files found.
lm_eval/api/task.py
View file @
37a46351
...
@@ -91,7 +91,9 @@ class TaskConfig(dict):
...
@@ -91,7 +91,9 @@ class TaskConfig(dict):
should_decontaminate
:
bool
=
False
should_decontaminate
:
bool
=
False
doc_to_decontamination_query
:
str
=
None
doc_to_decontamination_query
:
str
=
None
metadata
:
Union
[
str
,
list
]
=
None
# by default, not used in the code. allows for users to pass arbitrary info to tasks
metadata
:
Union
[
str
,
list
]
=
None
# by default, not used in the code. allows for users to pass arbitrary info to tasks
def
__post_init__
(
self
)
->
None
:
def
__post_init__
(
self
)
->
None
:
if
self
.
dataset_path
and
(
"."
in
self
.
dataset_path
):
if
self
.
dataset_path
and
(
"."
in
self
.
dataset_path
):
...
...
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