Visitar URL original
GitHub - wrat/embedding-evaluation: Evaluation tool for word embeddings · GitHub
Skip to content

About

Evaluation tool for word embeddings

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

embedding-evaluation

Evaluation tool for word embeddings

Wordsim Task

Wordsimilarity task is commonly used as a evaluation method for word-embeddings such as Word2vec, Glove. This task investigate how your vector capture semantics between word pairs.

Wordsim task can be run on english, spanish, and french wordembeddings.

python wordsim.py -l en -v vector_file.txt

Your vector file need to satisfy the following form.

  • apple 0.01 0.2 0.01 ...

You can also feed in compressed version of vector file.

python wordsim.py -l en -v vector_file.txt.gz

Task References

Requirements

  • numpy, scipy, ( gzip, prettytable )

About

Evaluation tool for word embeddings

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages