How does word2vec give one hot word vector from the embedding vector?
问题 I understand how word2vec works. I want to use word2vec(skip-gram) as input for RNN. Input is embedding word vector. Output is also embedding word vector generated by RNN. Here’s question! How can I convert the output vector to one hot word vector? I need inverse matrix of embeddings but I don’t have! 回答1: The output of an RNN is not an embedding. We convert the output from the last layer in an RNN cell into a vector of vocabulary_size by multiplying with an appropriate matrix. Take a look at