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 new NER metric using fuzzywuzzy logic #808

Merged
merged 15 commits into from May 22, 2024
Merged

Added new NER metric using fuzzywuzzy logic #808

merged 15 commits into from May 22, 2024

Conversation

sarathsgvr
Copy link
Collaborator

Added a new metric using fuzzywuzzy logic for NER evaluation. This will help to compare the predictions with actual using string match based on predefined threshold.

src/unitxt/metrics.py Outdated Show resolved Hide resolved
src/unitxt/metrics.py Outdated Show resolved Hide resolved
rajkumar.rajasekaran@ibm.com and others added 3 commits May 9, 2024 16:50
Signed-off-by: rajkumar.rajasekaran@ibm.com <rajkumar.rajasekaran@ibm.com>
Signed-off-by: Sarath <sarath@saraths-mbp.in.ibm.com>
@yoavkatz
Copy link
Member

Hi. I think primary what's left is to update the test value, and move the import to where it is used. Is this right?

Signed-off-by: rajkumar.rajasekaran@ibm.com <rajkumar.rajasekaran@ibm.com>
@rrajkumar1990
Copy link
Collaborator

rrajkumar1990 commented May 13, 2024

Hi. I think primary what's left is to update the test value, and move the import to where it is used. Is this right?

We have changed the Test values and changed the import inside the custom method.

@yoavkatz
Copy link
Member

Hi. I think primary what's left is to update the test value, and move the import to where it is used. Is this right?

We have changed the Test values and changed the import inside the custom method.

I saw you moved the import. But I don't see changes in the test values. Am I missing anything?

@yoavkatz yoavkatz enabled auto-merge (squash) May 22, 2024 11:56
@yoavkatz yoavkatz merged commit 226865b into main May 22, 2024
6 of 7 checks passed
@yoavkatz yoavkatz deleted the fuzzy_ner branch May 22, 2024 12:19
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.

None yet

4 participants