Technical requirements
We’ll implement the example in this chapter using Python, PyTorch, and the TorchText package (https://github.com/pytorch/text). If you don’t have an environment set up with these tools, fret not – the example is available as a Jupyter Notebook on Google Colab. You can find the code examples in this book’s GitHub repository: https://github.com/PacktPublishing/Python-Deep-Learning-Third-Edition/tree/main/Chapter06.