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
5b0b8a56
Unverified
Commit
5b0b8a56
authored
Jan 26, 2024
by
thnkinbtfly
Committed by
GitHub
Jan 26, 2024
Browse files
Refix issue regarding stderr (#1357)
parent
52f48e8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/evaluator.py
lm_eval/evaluator.py
+1
-1
No files found.
lm_eval/evaluator.py
View file @
5b0b8a56
...
...
@@ -511,7 +511,7 @@ def evaluate(
+
metric_score
*
current_size
)
/
(
total_size
+
current_size
)
# $$s_z^2 = \frac{(n-1) s_x^2 + (m-1) s_y^2}{n+m-1} + \frac{nm(\bar x - \bar y)^2}{(n+m)(n+m-1)}.$$
if
var_score
==
"N/A"
:
if
var_score
==
"N/A"
or
results
[
group
][
stderr
]
==
"N/A"
:
results
[
group
][
stderr
]
=
"N/A"
else
:
results
[
group
][
stderr
]
=
(
...
...
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