Skip to content

Top 10 Similar terms #3

@Mustyy

Description

@Mustyy

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]])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions