Hi Vincent Koros,
Thank you for reaching out to Microsoft Q & A forum.
To resolve the issue, you need to install the torchtext module. You can do this by running the following command:
pip install torchtext
Ensure that the torch library (PyTorch) is also installed, as it is a prerequisite for torchtext. If PyTorch is not installed, you can find installation instructions on the official PyTorch website.
Once the installation is complete, restart your Jupyter Notebook kernel and re-run the code cells to ensure everything works correctly.
Please feel free to contact us if you have any additional questions.
If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.