NUM_SAMPLED = 64 # Number of negative examples to sample. LEARNING_RATE = 1.0 NUM_TRAIN_STEPS = 10000 SKIP_STEP = 2000 # how many steps to skip before reporting the loss def word2vec(batch_gen): """ ...
NUM_SAMPLED = 64 # Number of negative examples to sample. LEARNING_RATE = 1.0 # get the embed of input words using tf.nn.embedding_lookup # embed = tf.nn.embedding ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results