Closed mooreniemi closed 4 years ago
It looks to me like you have other code (e.g. dataloader.py
) from another repository. We don't have any instances_dev.pkl or dataloader.py
Oh no, my apologies! I opened this in the wrong repo, as squash links to this one. I'll close this here.
@mooreniemi I am also facing the same problem, did you find the solution?
I was curious to try using the question generation component. Based on the overall README, I might expect to be able to run interact.py without any arguments, but this doesn't work:
That is ok, I downloaded a pretrained model myself from Google drive and tried interact.py again (
python3 question-generation/interact.py --model_checkpoint ~/Downloads/gpt2_corefs_question_generation/
). When I did so, I first hit the below issue:Reading the overall README, I inferred that I needed to download instances_dev.pkl, and I found something closely named instances_dev.pickle and instances_corefdev.pickle here. I assumed I'd need the coref labeled one, as the pretrained folder is named "gpt2corefs_question_generation". But when I tried to use this, I hit the next issue:
Would you mind clarifying the steps to test out just this component? It would greatly speed up my efforts.