Open DivyaWadehra opened 4 years ago
Sorry, I didn't open the code to generate questions directly from the external text. I'll try to open it soon. Before that, you could preprocess your text as the format of the testing set (https://drive.google.com/file/d/1qCo2pK5iBGjQhYJ_EhrQDw8exD2EDUCa/view?usp=sharing). Only having "paras." and "answers." formatted correctly and having "questions.*" filled with some random tokens" would be enough. Prepare your testing data by https://github.com/ZhangShiyue/QGforQA/blob/master/QG/ELMo_QG/prepare.py Then, test with our pre-trained models https://github.com/ZhangShiyue/QGforQA/tree/master/QG/ELMo_QG#test-pre-trained-models The generated questions are saved in the "answer_dict" variable. (https://github.com/ZhangShiyue/QGforQA/blob/master/QG/ELMo_QG/main.py)
Hello! Is there a way of generating questions without preprocessing my text into "paras." and "answers."? Did you add any code to do this automatically? thanks
How to generate the questions from the text I have, Processing etc?