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

1. fixing q-type leak 2. tweaks to run with Pytroch 1.x #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

searchivarius
Copy link

@searchivarius searchivarius commented Oct 15, 2019

Hi, thank you for the great repository!

However, I found that for QA type classification, the code includes the sub-type into the training/testing data. Needless to say it's a perfect predictor. So, I am fixing this, plus make a couple of tweaks to make it compatible with the latest Python.

I couldn't get rid of the annoying GenSim warning, but maybe you'll have more luck if you re-run the notebook.

Predictably, after removing the leak the accuracy drops. However, I verified that with ALL the data, it goes up again, at least when you randomly sample 10% from the training set to be test data. Maybe, the numbers will be different if you use the official test set. However, you data download script does not download all the data, so I kept this whole thing as is.

BTW, it takes only a few seconds to train on a MacBook pro (and a couple of minutes on all the data). Not long at all!

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

1 participant