1
$\begingroup$

Is there any benefits from using Doc2vec for word embedding ( replacing word2vec ) ? in other hand if I train word2vec and doc2vec with the same dataset will I have the same word vectors ?

$\endgroup$

1 Answer 1

3
$\begingroup$

As the name implies, doc2vec generates vectors representing documents (sentences, paragraphs) but not single words. So training doc2vec won't give you word vectors but document vectors. This means you can't replace word2vec by doc2vec at all.

Here's how the authors of the underlying paper describe what doc2vec does:

Our algorithm represents each document by a dense vector which is trained to predict words in the document.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.