chetannaik / language_model

Train word vectors for any domain (w/ initialization using word2vec embeddings).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Language Model [Torch]

Summary

Simple language model to train word vectors written in Lua using Torch. Trains word vectors using skip-gram for any domain (using word2vec initializations).

Code

The following modules are required to run the system:

  • Torch
  • nn

and GoogleNews-vectors-negative300.bin.gz - word vectors from google produced as part of word2vec.

About

Train word vectors for any domain (w/ initialization using word2vec embeddings).


Languages

Language:Lua 76.0%Language:Python 24.0%