nqg
nqg copied to clipboard
neural question generation for reading comprehension
When i run "th translate.lua -model model/840B.300d.rnn.para_epoch15_26.70.t7 -config config-trans" command, I get this error, I don;t know how to solve it ===================Error============================================ THCudaCheck FAIL file=/home/beta/torch/extra/cutorch/lib/THC/THCGeneral.c line=70 error=38 : no CUDA-capable...
First replace in preprocess_embedding.sh with real path.Where is the embeddig txt ,I mean there are lots of txt in this program ,I don't know what should I put in there.
I update the eval scripts to py3, which has the same output compare with the py2 version the testing result using `--out=src-test.txt` **python2** ``` Bleu_1: 0.24129 Bleu_2: 0.16070 Bleu_3: 0.11332...
This is the error I get when I try to train the model! Please help!
Is perplexity the only metric which we can use to evaluate the training model or do we have any other metrics which we can include or try ? @xinyadu
I am running the script for generating (.t7) files and i am facing the below issue: ``` $$ python preprocess_embedding.py --embedding /media/xxxx/NewVolume/glove.840B.300d.txt --dict ./data/qg.{src,tgt}.dict --output ./data/qg.{src,tgt}.840B.300d.npy usage: preprocess_embedding.py [-h] --embedding...
**To generate new questions this line is used where config-trans specifies the input text:** $> `th translate.lua -model model/ -config config-trans` **1) What is the requirement of the input text?...
This error was occurring while running the "./preprocess_embeddings.sh" after which the rest of the code ran and out put was generated , but however due to the below error i...
**Hello! When i run this code received followed error: "th convert.lua"** / home/my/torch/install/bin/lua: /home/my/torch/install/share/lua/5.2/trepl/init.lua:389: module 'npy4th' not found:No LuaRocks module found for npy4th no field package.preload['npy4th'] no file '/home/my/.luarocks/share/lua/5.2/npy4th.lua' no...
Hi , thank you for your nice contribution! I encounter problem in evaluation: scores: Traceback (most recent call last): File "eval.py", line 101, in eval(args.out_file, args.src_file, args.tgt_file) File "eval.py", line...