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
ec4bc493
Commit
ec4bc493
authored
Aug 25, 2023
by
lintangsutawika
Browse files
reformat
parent
a3eb6393
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/tasks/super_glue/multirc/t5_utils.py
lm_eval/tasks/super_glue/multirc/t5_utils.py
+1
-1
No files found.
lm_eval/tasks/super_glue/multirc/t5_utils.py
View file @
ec4bc493
...
@@ -39,7 +39,7 @@ def em(predictions, references): # This is a passthrough function
...
@@ -39,7 +39,7 @@ def em(predictions, references): # This is a passthrough function
else
not
bool
(
reference
)
else
not
bool
(
reference
)
)
)
return
(
int
(
_group
)
,
prediction
,
reference
)
return
(
_group
,
prediction
,
reference
)
def
agg_em
(
items
):
def
agg_em
(
items
):
...
...
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