google / trax

Trax — Deep Learning with Clear Code and Speed
Apache License 2.0
8.07k stars 813 forks source link

Update NMT_with_Transformers_Reformers_using_Trax.ipynb #1702

Closed sunvod closed 2 years ago

sunvod commented 2 years ago

With the solution posted previously, if the training consumes all the inputs provided by the generator, a StopIteration is launched and the execution ends. The proposed solution avoids stopping execution without necessarily loading all the data into memory.

google-cla[bot] commented 2 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

sunvod commented 2 years ago

@googlebot I signed it!