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
6b1897d6
Unverified
Commit
6b1897d6
authored
Jul 25, 2023
by
Hailey Schoelkopf
Committed by
GitHub
Jul 25, 2023
Browse files
Merge pull request #690 from EleutherAI/lintangsutawika-patch-1
Remove condition to check for `winograd_schema`
parents
05c879cc
f4cb06b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
lm_eval/evaluator.py
lm_eval/evaluator.py
+1
-4
No files found.
lm_eval/evaluator.py
View file @
6b1897d6
...
...
@@ -223,10 +223,7 @@ def evaluate(
# aggregate Instances by LM method requested to get output.
reqtype
=
(
"loglikelihood"
if
(
task
.
OUTPUT_TYPE
==
"multiple_choice"
or
task
.
OUTPUT_TYPE
==
"winograd_schema"
)
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