Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

METEOR has no option to return unaggregated results #572

Open
ashtonomy opened this issue Apr 10, 2024 · 0 comments
Open

METEOR has no option to return unaggregated results #572

ashtonomy opened this issue Apr 10, 2024 · 0 comments

Comments

@ashtonomy
Copy link

Describe the bug

The METEOR metric returns the mean metric as opposed to a list of individual metrics per ref/pred pair. This is inconsistent with other default metric behavior including rouge, bleu, and bertscore. This can be a problem when trying to calculate correlation, for example.

See metrics/meteor/meteor.py line 168 in _compute:
return {"meteor": np.mean(scores)}

Steps to reproduce the bug

from evaluate import load

metric = load("meteor")
meteor.compute(references=["reference one", "reference two"], predictions=["prediction one", "prediction two"])

Expected results

{"meteor": [0.25, 0.25]}

Actual results

{"meteor": 0.25}

Environment info

evaluate version: 0.4.1
Platform: Rocky Linux 8.9 
Python version: 3.9.18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant