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

Added CUAD metrics #2273

Merged
merged 2 commits into from
Apr 29, 2021
Merged

Added CUAD metrics #2273

merged 2 commits into from
Apr 29, 2021

Conversation

bhavitvyamalik
Copy link
Contributor

@bhavitvyamalik bhavitvyamalik commented Apr 27, 2021

EM, F1, AUPR, Precision@80%Recall, and Precision@90%Recall metrics supported for CUAD

Copy link
Member

@lhoestq lhoestq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !!
I added one last comment

"""

_KWARGS_DESCRIPTION = """
Computes CUAD scores (EM, F1, AUPR, Precision@80%Recall, and Precision@90%Recall).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe mention in the docstring that users can use multiple answers depending on a threshold on the confidence probability of each prediction ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added changes in docstring for prediction_text. Let me know if something is also required

Copy link
Member

@lhoestq lhoestq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect thanks :)

@lhoestq lhoestq merged commit 58967bd into huggingface:master Apr 29, 2021
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

Successfully merging this pull request may close these issues.

2 participants