Skip to content

Implement and replicate word embedding using tensorflow 2.0

Notifications You must be signed in to change notification settings

hfyxin/word-embedding-intuition-TF20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Word Embedding Intuition with Tensorflow 2.0

This is a simple demonstration of how word embedding works in tensorflow 2.0. The implementation is directly based on this tutorial paper:

which are based on these two pioneering works:

The wevi demo has already given an amazing visualization of word embedding. This project tries to replicate its result using Tensorflow 2.x, which is more practical, and whose code can be reused in the future work.

Environment

The code is tested under these packages:

  • Python 3.6
  • numpy 1.17.2
  • sklearn 0.21.3
  • matplotlib 3.1.1
  • tensorflow 2.0.0

Colab Version

Here is an online Colab notebook for a quick look, although it's quite bulky.

About

Implement and replicate word embedding using tensorflow 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published