Skip to content

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