Skip to content

nancywen25/Word-Embeddings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word-Embeddings

Explore the benefits of word embeddings for NLP tasks

Task 1: Word Similarity

This task measures how well word embeddings can reproduce human judgements regarding the similarity of words. Using 500 dimension GloVe vectors, we calculated cosine similarity between word embeddings. The embeddings similarity score and the human similarity score had a Pearson correlation of 0.71. See output here.

Task 2: Analogy

This task demonstrates that word embeddings can be used to find the fourth word in an analogy e.g. king:man::queen:woman. If each word A, B, C, D in the relationship A:B::C:D are represented as word embeddings, D can be calculated from D = B - A + C. See output here for other analogies that can be found with word embeddings.

About

Explore the benefits of word embeddings for NLP tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages