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
1848d664
"examples/vscode:/vscode.git/clone" did not exist on "e48b9e09ee3888f1e62348f8b3c71ff3bdab38a6"
Commit
1848d664
authored
Jun 10, 2024
by
lintangsutawika
Browse files
remove version for metadata
parent
016615fa
Changes
1
Hide 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 @
1848d664
...
...
@@ -62,7 +62,9 @@ class GroupConfig(dict):
aggregate_fn
:
Optional
[
str
]
=
"mean"
weight_by_size
:
Optional
[
str
]
=
False
metric_alias
:
Optional
[
str
]
=
None
# Still a placeholder
version
:
Optional
[
int
]
=
0
metadata
:
Optional
[
dict
]
=
None
# by default, not used in the code. allows for users to pass arbitrary info to tasks
def
__getitem__
(
self
,
item
):
return
getattr
(
self
,
item
)
...
...
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