-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
I am wondering if the returns in evaluate.py code
if return_all_scores and return_outputs:
return round(100 * ncorrect / ntotal, 2), results
elif return_all_scores:
return round(100 * ncorrect / ntotal, 2), [score for *_, score in reordered_devset]
elif return_outputs:
return round(100 * ncorrect / ntotal, 2), results
return round(100 * ncorrect / ntotal, 2)
could be changed so that
if return_all_scores and return_outputs:
return round(100 * ncorrect / ntotal, 2), results, [score for *_, score in reordered_devset]
....
returns all information at once
Metadata
Metadata
Assignees
Labels
No labels