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
f4cb06b1
Unverified
Commit
f4cb06b1
authored
Jul 21, 2023
by
Hailey Schoelkopf
Committed by
GitHub
Jul 21, 2023
Browse files
try to placate precommit
parent
310250d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
lm_eval/evaluator.py
lm_eval/evaluator.py
+1
-3
No files found.
lm_eval/evaluator.py
View file @
f4cb06b1
...
...
@@ -223,9 +223,7 @@ def evaluate(
# aggregate Instances by LM method requested to get output.
reqtype
=
(
"loglikelihood"
if
(
task
.
OUTPUT_TYPE
==
"multiple_choice"
)
if
task
.
OUTPUT_TYPE
==
"multiple_choice"
else
task
.
OUTPUT_TYPE
)
# TODO: this is hacky, fix in task.py
requests
[
reqtype
].
extend
(
task
.
instances
)
...
...
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