https://github.com/sirius-mhlee/word-embedding-using-keras-skip-gram-word2vec
Keras implementation of Skip-gram Word2Vec
https://github.com/sirius-mhlee/word-embedding-using-keras-skip-gram-word2vec
keras paper-implementation python skip-gram word-embedding word2vec
Last synced: 2 months ago
JSON representation
Keras implementation of Skip-gram Word2Vec
- Host: GitHub
- URL: https://github.com/sirius-mhlee/word-embedding-using-keras-skip-gram-word2vec
- Owner: sirius-mhlee
- Created: 2020-03-21T05:22:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-21T11:45:23.000Z (about 5 years ago)
- Last Synced: 2025-02-02T11:11:21.552Z (4 months ago)
- Topics: keras, paper-implementation, python, skip-gram, word-embedding, word2vec
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Word Embedding using Keras Skip-gram Word2Vec
===========================================Keras implementation of Skip-gram Word2Vec.
https://research.google/pubs/pub44876/
Using About Wikipedia page.
https://en.wikipedia.org/wiki/Wikipedia:About
Distributed Representations of Words and Phrases and their Compositionality
Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, Jeffrey Dean
Neural and Information Processing System (NIPS) (2013)Training Usage
-----python TrainingWeight.py train_data_file output_weight_file output_tokenizer_file
ex)
python TrainingWeight.py ./data/train_data.txt ./weight/embed_weight.pickle ./weight/tokenizer.pickleTraining Result
-----
Prediction Usage
-----python PredictSimilar.py input_weight_file input_tokenizer_file input_word output_word_count
ex)
python PredictSimilar.py ./weight/embed_weight.pickle ./weight/tokenizer.pickle wikipedia 10Prediction Result
-----