martiansideofthemoon / squash-generation

Official code and data repository for our ACL 2019 long paper "Generating Question-Answer Hierarchies" (https://arxiv.org/abs/1906.02622).
MIT License
95 stars 30 forks source link

Question Generation #43

Open princebaretto99 opened 4 years ago

princebaretto99 commented 4 years ago

Is it possible to run only the Question Generation part? I have done all the steps mentioned till the Question Generation part. But while running the interact.py file in question_generation folder I get the following Error

para

I haven't run the pipeline.sh because I just want to run the Generation part

martiansideofthemoon commented 4 years ago

Hi @princebaretto99 did you use the command in pipeline.sh to run the interact.py file? It needs data correctly formatted before it can be run. @ajinkya2903 that does not look like an error to me, it's expected behaviour.

Vivaswan13 commented 4 years ago

I am also getting the same error when I run interact.py for question generation could you please tell the solution @martiansideofthemoon @princebaretto99

zonyiwer commented 2 years ago

QQ浏览器截图20220716204726 If I run pipeline.sh on Linux, it can run successfully, but if I run Windows, I will get this error. Why is this?

martiansideofthemoon commented 2 years ago

hi @zonyiwer what's your Python, PyTorch and HuggingFace Transformers versions? Are they exactly the same as the Linux version of your codebase?

zonyiwer commented 2 years ago

@martiansideofthemoon Yes, the same version as in my Linux, but it will get an error.