N-iX Interview Question

How to generate a vector using word2vec?