Preprocessing necessary for lengthier text
Hi, I tried to train squad model on a different dataset where I have lengthier questions/contexts. It gave memory error 

CUDA out of memory. Tried to allocate 4.50 MiB (GPU 5; 11.78 GiB total capacity;

This error seems to happen in pytorch when there are lengthier data points ( pytorch tells how much it tried to allocate as opposed to normal CUDA out of memory error).

tensorflow code for bert doesn't give this error as it trims the question/text lengths. I think you should include in this package as well.
Ok. I see you included this. (max_sent_length, max_query_length)
I will debug my error.You probably can close this issue. 