clementfarabet/lua---nnx — pull request #15 by nicholas-leonard (2014-08-02 02:50:36+00:00)
Title: NarrowLookupTable

This PR adds NarrowLookupTable, which adds concatenates embeddings with descending narrowed sizes (ascDelta = true). Useful for language models, where most recent words in context are more useful in predicting next word than older ones. If input is ordered furthest to nearest word, one can use ascDelta = false.

Includes unit tests.