Skip to content

lofoyet/WordEmbeddingEvaluation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word embedding evaluation

And vector represented word embedding can be evaluated for different tasks. E.g. word similarity, word analogy, doc representation etc.

Evaluation tasks that we support

  1. word similarity

Use human labelled similarity score between select word, compare similarity score generated by embedding vector. The closer to human similarity score, the closer to human judgement.

  1. doc classification

Represent doc using a combination of word embedding. The easiest way is to average (too naive). Can use RNN to generate better representation. Use representation and doc embedding to classify.

How to use

First install required

pip install --editable .

Next run via command line

WordEmbEval --out_dir=output/eval --emb_path=/tmp/glove.twitter.27B.100d.txt --csv_separator=" " --quoting=3

About

english word embedding evaluation tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages