In the following tutorial, the trainining is sentence by sentence. How to train a batch of sentenses at each iteration? Could anybody show the working code? Thanks.
http://pytorch.org/tutorials/beginner/nlp/sequence_models_tutorial.html 5