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
1fae7283
Commit
1fae7283
authored
May 10, 2024
by
lintangsutawika
Browse files
remove warning
parent
a88886a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
lm_eval/api/task.py
lm_eval/api/task.py
+0
-11
No files found.
lm_eval/api/task.py
View file @
1fae7283
...
...
@@ -180,17 +180,6 @@ class TaskConfig(dict):
]
=
None
# by default, not used in the code. allows for users to pass arbitrary info to tasks
def
__post_init__
(
self
)
->
None
:
# TODO Remove in next release
if
(
self
.
group
is
not
None
)
or
(
self
.
group_alias
is
not
None
):
self
.
tags
=
self
.
group
eval_logger
.
info
(
f
"`group` and `group_alias` will no longer be used in the next release of lm-eval. "
,
f
"`tags` will be used to allow to call a collection of tasks just like `group`. "
,
f
"`group` will be removed in order to not cause confusion with the new ConfigurableGroup "
,
f
"which will be the offical way to create groups with addition of group-wide configuations."
)
if
self
.
generation_kwargs
is
not
None
:
if
self
.
output_type
!=
"generate_until"
:
eval_logger
.
warning
(
...
...
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