patil-suraj / question_generation

Neural question generation using transformers
MIT License
1.1k stars 346 forks source link

Rich man's QG pipeline #77

Open violetcodes opened 3 years ago

violetcodes commented 3 years ago

in pipelines.py, QGPipeline class is refered as Poor man's pipeline. I gues because it handles one text at a time. can you implement an inference pipeline for batch of texts. I am doing this on ~5000 texts, and its taking a long time (~10 s on each).