tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.36k stars 1.96k forks source link

The difference between Embedding and word2vec #359

Closed yapingzhao closed 5 years ago

yapingzhao commented 6 years ago

Hi, I have a question:What is the difference between Embedding and word2vec? Is the implementation principle of Embedding based on the n-gram language model((Use the first n-1 words to predict the nth word))? I am a beginner of nmt. Looking forward to your advice or answers. Best regards, Thank you very much!