Created
May 18, 2018 12:45
-
-
Save gonzaloruizdevilla/373ac8873ea7a9e0eb748b481c53303c to your computer and use it in GitHub Desktop.
Word2vec training
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for inputs, labels in generate_batch(...): | |
feed_dict = {train_inputs: inputs, train_labels: labels} | |
_, cur_loss = session.run([optimizer, loss], feed_dict=feed_dict) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment