Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After training, how to generate a question for a custom text? #2

Open
rajasekar-venkatesan opened this issue Jul 12, 2019 · 9 comments

Comments

@rajasekar-venkatesan
Copy link

Hi,
After I train the model, how do I generate questions for a custom text?

@nleclercq
Copy link

nleclercq commented Jul 16, 2019

Same question here...
I'm looking for a solution to generate a specific domain SQuAD like dataset using a question generation (QG) tool. In the present case, it seems we have to process the input (text) in order to convert it into the expect format (CoNLL). Might be a too heavy process for my need. Seanie did a great job to evaluate QG on SQuAD 1.1 but the solution has not been designed to easily generate questions from arbitrary text.

@seanie12
Copy link
Owner

seanie12 commented Jul 17, 2019

@rajasekar-venkatesan, @nleclercq
TL;DR: I will update the repo so you can generate question for a custom text.
Thanks for having interest on my repo. The reason why it is necessary to prerocess text into coNLL format is because the model requires answer position in the passage to generate answer specific question.

@armheb
Copy link

armheb commented Aug 27, 2019

Hi, Thanks for your repo, I have a question ,after I downloaded the dataset and processed the data should I train the model or do you have trained weights available?
and after training the model or loading the trained weights, how can I use it for getting questions from custom paragraph using your new inference.py code?
I'd really appreciate your help.

@armheb
Copy link

armheb commented Sep 4, 2019

Can you please show an example of how to generate questions based on a given paragraph?

@jemmryx jemmryx mentioned this issue Nov 4, 2019
@sarthak221995
Copy link

Was there any update on this request?
If not can you please provide the ideal source and target file.

@ECNUHP
Copy link

ECNUHP commented Feb 12, 2020

Hi, Thanks for your repo, I have a question ,after I downloaded the dataset and processed the data should I train the model or do you have trained weights available?
and after training the model or loading the trained weights, how can I use it for getting questions from custom paragraph using your new inference.py code?
I'd really appreciate your help.

hello, do you know how to install torch_scatter?

@bhavikapanara
Copy link

Does anyone able to generate questions from test data?
@seanie12 Thanks for providing the code. can you please provide a solution to generate questions from test dataset.

Thanks

@seanie12
Copy link
Owner

seanie12 commented Apr 1, 2020

Sorry, I am busy with other projects. I will update the repo as soon as possible. @bhavikapanara

@bhavikapanara
Copy link

Sorry, I am busy with other projects. I will update the repo as soon as possible. @bhavikapanara

Thanks, @seanie12 for your reply.

Hoping that you will update your repo in coming days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants