localminimum / QANet

A Tensorflow implementation of QANet for machine reading comprehension
MIT License
983 stars 310 forks source link

Preprocessing #35

Closed tensorhunter closed 5 years ago

tensorhunter commented 5 years ago

In the preprocessing mode the execution stops at def buildfeatures() stating that (example["y1s"][0] - example["y2s"][0]) > ans limit List index out of bound

And later when commenting that statement it moves forward and gives another error at start, end = example["y1s"][-1], example["y2s"][-1] List Index out of bound

Please Help. Is it because I am using SQuAD version 2.0?