paragraph-vectors icon indicating copy to clipboard operation
paragraph-vectors copied to clipboard

Implement the inference stage

Open inejc opened this issue 6 years ago • 2 comments

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.

inejc avatar Sep 12 '17 08:09 inejc

@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?

ydennisy avatar Nov 19 '20 12:11 ydennisy

@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.

inejc avatar Nov 23 '20 11:11 inejc