Torchtext isn't compatible with PyTorch 2.11.0. How can I change cells 1 through 9 of [legacy/6 - Attention is All You Need.ipynb](https://github.com/bentrevett/pytorch-seq2seq/blob/b3cd54c72cd6e4e63f672d334c795b4fe744ef92/legacy/6%20-%20Attention%20is%20All%20You%20Need.ipynb) to use modern alternatives?
Torchtext isn't compatible with PyTorch 2.11.0.
How can I change cells 1 through 9 of legacy/6 - Attention is All You Need.ipynb to use modern alternatives?