Closed sabre-code closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Thanks for the patch. I just checked and it works for me. I made some additional changes that will also make it work for readers who use the older torchtext version (it's just an if/else version check). Somehow I can't push to this branch due to a permission error (maybe "allowing contributions from maintainers" was disabled for this PR) so I will do that after merging. Thanks for the fix!
Sounds great. Thanks a lot for this great book. ♥️
Found the issue with 100% accuracy. The labels in IMDB dataset were "pos" and "neg" earlier. Now they are 1 and 2 for positive and negative respectively. Tested on Colab and got expected results.
fixes #135