hunkim / PyTorchZeroToAll

Simple PyTorch Tutorials Zero to ALL!
http://bit.ly/PyTorchZeroAll
3.89k stars 1.2k forks source link

How to introduce mini batch training in the seq2seq example? #13

Closed NewGate0001 closed 6 years ago

NewGate0001 commented 6 years ago

As you stated in your comments you don't handle batches in your seq2seq example which makes the training very slow. Can you please give us an indication of how to introduce it?

hunkim commented 6 years ago

You are right, but it's an exercise problem. :-) Hint: see the name-country prediction.