Hi
I'm trying to reproduce your paper on english-hindi dataset and have trained the model in forward and backward direction but in substitution step i'm getting this error
/home/ayush/torch/install/bin/luajit: .../ayush/torch/install/share/lua/5.1/mon_LanguageModel.lua:157: attempt to compare nil with number
stack traceback:
.../ayush/torch/install/share/lua/5.1/mon_LanguageModel.lua:157: in function 'sample'
src/substitution.lua:52: in main chunk
[C]: in function 'dofile'
...yush/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x7f1246209570
Hi I'm trying to reproduce your paper on english-hindi dataset and have trained the model in forward and backward direction but in substitution step i'm getting this error
/home/ayush/torch/install/bin/luajit: .../ayush/torch/install/share/lua/5.1/mon_LanguageModel.lua:157: attempt to compare nil with number stack traceback: .../ayush/torch/install/share/lua/5.1/mon_LanguageModel.lua:157: in function 'sample' src/substitution.lua:52: in main chunk [C]: in function 'dofile' ...yush/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x7f1246209570