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

Implement the inference stage #5

Open
inejc opened this issue Sep 12, 2017 · 2 comments
Open

Implement the inference stage #5

inejc opened this issue Sep 12, 2017 · 2 comments

Comments

@inejc
Copy link
Owner

inejc commented Sep 12, 2017

I.e. training in which only the paragraph matrix is updated (word vectors are pre-trained and frozen), as described in Q. V. Le et al., Distributed Representations of Sentences and Documents.

@ydennisy
Copy link

@inejc Do you have a good ref / guide on how this should be implemented?

The best idea I have is to look at gensim source - but maybe there is a better reference?

@inejc
Copy link
Owner Author

inejc commented Nov 23, 2020

@ydennisy I believe the original paper mentions the inference step briefly. If I recall correctly, the only difference with training is that during inference all parameters but document vectors are fixed (i.e. word vectors and softmax weights are fixed). Please let me know if that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants