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
e66ba123
Commit
e66ba123
authored
Oct 18, 2023
by
haileyschoelkopf
Browse files
don't raise error for unset higher_is_better
parent
c28d100d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
lm_eval/api/registry.py
lm_eval/api/registry.py
+0
-1
No files found.
lm_eval/api/registry.py
View file @
e66ba123
...
...
@@ -171,7 +171,6 @@ def is_higher_better(metric_name):
try
:
return
HIGHER_IS_BETTER_REGISTRY
[
metric_name
]
except
KeyError
:
raise
Warning
(
f
"higher_is_better not specified for metric '
{
metric_name
}
'!"
)
eval_logger
.
warning
(
f
"higher_is_better not specified for metric '
{
metric_name
}
'!"
)
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