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
78c3f7d3
"vscode:/vscode.git/clone" did not exist on "d229d3e1354bdbefa6c1b1b00a2a22579488cc6a"
Commit
78c3f7d3
authored
May 11, 2024
by
lintangsutawika
Browse files
add task_id for python tasks as well
parent
0905615f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+2
-0
No files found.
lm_eval/tasks/__init__.py
View file @
78c3f7d3
...
...
@@ -256,6 +256,8 @@ class TaskManager:
group_name
:
dict
(
collections
.
ChainMap
(
*
map
(
fn
,
reversed
(
subtask_list
))))
}
def
build_tasks
def
load_task_or_group
(
self
,
task_list
:
Optional
[
Union
[
str
,
list
]]
=
None
)
->
dict
:
"""Loads a dictionary of task objects from a list
...
...
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