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
f4d2e6e0
Commit
f4d2e6e0
authored
May 11, 2024
by
lintangsutawika
Browse files
add task_id for python tasks as well
parent
1ef5b0bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lm_eval/api/task.py
lm_eval/api/task.py
+1
-0
No files found.
lm_eval/api/task.py
View file @
f4d2e6e0
...
@@ -762,6 +762,7 @@ class Task(abc.ABC):
...
@@ -762,6 +762,7 @@ class Task(abc.ABC):
def
task_id
(
self
)
->
Any
:
def
task_id
(
self
)
->
Any
:
return
self
.
_task_id
return
self
.
_task_id
class
ConfigurableTask
(
Task
):
class
ConfigurableTask
(
Task
):
VERSION
=
"Yaml"
VERSION
=
"Yaml"
OUTPUT_TYPE
=
None
OUTPUT_TYPE
=
None
...
...
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