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

The model predicts the relationship of all entities as "N", that is, no relationship. #11

Closed
yuanxiaosc opened this issue May 10, 2019 · 1 comment

Comments

@yuanxiaosc
Copy link

Because the data labeling strategy according to the multi-head selection model, most of the relationship labels are "N", which leads to the model biasing the prediction of "N". How to solve such a problem?

@bekou
Copy link
Owner

bekou commented May 10, 2019

Well this is not an issue in any of our examined datasets. We have examined four datasets in our work. I guess you use your own dataset. You can try to weight the examples to solve your imbalanced problem. Another solution might be to remove the N label completely from the model (i.e., you have to change the model for that). Basically, you get probabilities for each of the labels and when for every of the examined labels, you get a threshold below 0.5, you can infer that there is no relation. This is just an idea and I am not sure whether it will work in practice.

@bekou bekou closed this as completed May 10, 2019
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

2 participants