lstm-char-cnn
lstm-char-cnn copied to clipboard
LSTM language model with CNN over characters
Trying to run the cuda version I get this error: luajit: ~/tools/torch/install/share/lua/5.1/nn/THNN.lua:804: wrong number of arguments for function call stack traceback: [C]: in function 'v' ~/tools/torch/install/share/lua/5.1/nn/THNN.lua:804: in function 'LookupTable_accGradParameters' ~/tools/torch/install/share/lua/5.1/nn/LookupTable.lua:73:...
To solve this error: ``` luajit: ./util/BatchLoaderUnk.lua:14: attempt to index global 'path' (a nil value) ``` I added this line to both main.lua and util/BatchLoaderUnk.lua: ``` local path = require...
This adds UTF-8 support for multibyte encoded corpora
Not sure if we want to merge this, or maybe just keep this as a separate branch? Runs the morphology experiments.