Hi! Thanks for sharing this implementation and the medium / jupyter notebook material (really great!)
I was able to run the entire project here, but realized that the prediction implementation takes a long time to execute if MAX_LENGTH is large and has several batches to run. (really long time)
My question is if you have any suggestions to optimize, or if anyone has already done so. I thought about doing batch predictions instead of single sentences at a time, but I'm not sure if it will work.
Hi! Thanks for sharing this implementation and the medium / jupyter notebook material (really great!)
I was able to run the entire project here, but realized that the prediction implementation takes a long time to execute if MAX_LENGTH is large and has several batches to run. (really long time)
My question is if you have any suggestions to optimize, or if anyone has already done so. I thought about doing batch predictions instead of single sentences at a time, but I'm not sure if it will work.
Best