Closed sabre-code closed 1 year ago
Hi there,
I think that's because there were a few changes in torchtext. In order to reproduce the results in the book, you can try
pip install torchtext==0.10.0
to install the version I used in the book from https://pypi.org/project/torchtext/0.10.0/
Hello I just tried installing the said version but torch text 0.10.0 seems unavailable.
I can confirm. It jumps from 0.6 to 0.12. They must have removed this version. This is so weird. It's still available online but it seems that there is no source file anymore: https://pypi.org/project/torchtext/0.10.0/#files
I guess changing the code to suit the new torchtext is only option. Will try that.
Yeah, that might be the unfortunate consequence of that. Sorry about that! I am a bit hesitant to update the original notebook since it would then be different from the book text, which could be confusing for some. But if you get it to work with a newer version, I'd appreciate a PR. We could include this as an alternative notebook here on GitHub and then link it from the original one.
Surely I will work on it.
Hello, I have created PR please check.
Hello @rasbt. I am facing some issue with chapter 15 part 2 notebook. I tried running the notebook on colab. Issues: