ngoduyvu
ngoduyvu
Hi guys, I have the same problem with you guy. I tried to apply word2vec for Convolution Neural Network in Text Classification task. The code for pre_train is "word2vec_basic.py" in...
Hi j314erre, thanks for your code but I am quite don't understand it. Are all of your result stored in "GoogleNews-vectors-negative300.bin" ? My code is similar with "word2vec_basic.py" of Tensorflow....
Yeah that is exactly what I did `W = tf.Variable(tf.constant(0.0, shape=[vocabulary_size, embedding_size]), trainable=False, name="W") embedding_placeholder = tf.placeholder(tf.float32, [vocabulary_size, embedding_size]) embedding_init = W.assign(embedding_placeholder) sess = tf.Session() sess.run(embedding_init, feed_dict={embedding_placeholder: final_embeddings}) embedded_chars =...