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

Train tripes - Query on Duplicate elimination #404

Open
allohvk opened this issue Dec 3, 2023 · 0 comments
Open

Train tripes - Query on Duplicate elimination #404

allohvk opened this issue Dec 3, 2023 · 0 comments

Comments

@allohvk
Copy link

allohvk commented Dec 3, 2023

Any reason why we eliminate duplicates? Let us say we are scraping from a large internet DB. There could be relations that are strongly reinforced multiple times, other relations which may appear once or twice (in some incorrect website). When trained on the entire corpus, the model will ignore the incorrect relationships. Let us say a relation appears about 100 times in the corpus. 99 of the websites got it right and 1 website got it wrong. If trained with the entire corpus, the correct info will outweigh the wrong one (in the embeddings). If duplicates are eliminated, we get 1 correct and one incorrect relationship which will be impossible to train. I understand this is not a bug and your code is designed to work that way, but I am curious to know your thoughts on this situation and whether me modifying the source code to prevent duplicate elimination could possibly help in getting meaningful embeddings for the above scenario.

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

1 participant