Skip to content

SigmaQuan/dl4nlp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DL4NLP: Deep Learning for Natural Language Processing

Introduction

DL4NLP is a Python package inspired by a course at Stanford University by Richard Socher.

http://cs224d.stanford.edu/

Requirements

The recommended environment is Anaconda with Python 3.4 and PyCharm for development.

For matrix computation, it uses only numpy i.e. you don't need Theano or other framework.

word2vec

DL4NLP implements word2vec model (skip-gram) proposed by Thomas Mikolov at 2013.

https://code.google.com/archive/p/word2vec/

In order to train word vectors, use this command:

./bin/word2vec.py input.txt output.txt <vector_size> <context_size>

Unit testing

Run the following command on the top of project directory.

python -m unittest discover tests

About

Deep learning for natural language processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%