Skip to content

Conversation

@kanihal
Copy link
Contributor

@kanihal kanihal commented Oct 16, 2017

updating num_positive_words_this_iter once you get random word

Copy link
Contributor

@octavian-ganea octavian-ganea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not very essential, but might introduce bugs, so it's better to fix it. Anyway, this branch will only be reached for very rare entities without any canonical page content and in which all title words are UNK, which should happen very rarely, if never.

@kanihal
Copy link
Contributor Author

kanihal commented Oct 17, 2017

I'm following the exact instruction that is mentioned in the readme of this repo without any modification in the dataset whatsoever, The branch is getting reached quite a lot of times and used to crash there. That's how I found out the variable needs to be updated.

The script data_gen/gen_p_e_m/gen_p_e_m_from_yago.lua used to crash because of % issue not handled properly in LUA52, hence I made another pull request #4 . Does this modification have any effect on control reaching to the branch above?

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.

2 participants