Thank you firstly for the tutorial
I wanted to ask if it is possible to use the final embeddings to test out a word and return top 10 similar terms.
e.g
Top 10 Similar words given an input word
word="external"
word_vec = final_embeddings[dictionary[word]]
sim = np.dot(word_vec,-final_embeddings.T).argsort()[0:8]
for idx in range(8):
print (reverse_dictionary[sim[idx]])
Thank you firstly for the tutorial
I wanted to ask if it is possible to use the final embeddings to test out a word and return top 10 similar terms.
e.g
Top 10 Similar words given an input word
word="external"
word_vec = final_embeddings[dictionary[word]]
sim = np.dot(word_vec,-final_embeddings.T).argsort()[0:8]
for idx in range(8):
print (reverse_dictionary[sim[idx]])