sentence1: word2vec is a prediction-based distributional model in which a word representation is obtained from a neural network trying to predict a word from its context or vice-versa .
sentence2: word2vec is the method to obtain distributed representations for a word by using neural networks with one hidden layer .