3 ms·
Thank you for this very helpful information, and I have just one more question: "Often the w2v embedding layer will be the first layer of a network, through wh
by ppod 9y ago
Thank you for this very helpful information, and I have just one more question:
"Often the w2v embedding layer will be the first layer of a network, through which a document of word representations will be passed. The output of the embedding layer will be a 2 dimensional tensor with the embedding dimension in one direction and the number of input words in the other. The next step is often to apply zero or more convolutional units over the word direction before some kind of pooling to get a 1 dimensional output. The output of the pooling layer will be a document representation based upon the word vectors.
Other approaches like doc2vec are also used."
I thought the approach you described was doc2vec. If not, then does it have a name/citation?
- aglionby 9y agoDoc2vec is the name of the gensim implementation of this paper [0]. Briefly, it creates document embeddings (document being anything on the level of phrases, to sentences, to paragraphs and beyond) on the basis of either predicting a word given the context words (distributed memory -- DM), or predicting the context words given a word (distributed bag of words -- DBOW). [0] https://arxiv.org/abs/1405.4053 https://arxiv.org/abs/1405.4053