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

Modify printouts in RelationClassifier evaluation to remove clutter #3591

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

alanakbik
Copy link
Collaborator

The RelationClassifier works by internally creating a sentence representation for each possible entity pair in a sentence. The number of such sentence representations can be quite large if there are several entities in a sentence. Most of these are not involved in any relation.

This PR removes unlabeled entity pairs from the evaluation printout to remove clutter.

@alanakbik alanakbik merged commit 8bc9c28 into master Jan 2, 2025
2 checks passed
@alanakbik alanakbik deleted the relation_printout branch January 2, 2025 04:57
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.

1 participant