Technical requirements
We’ll implement the example in this chapter using Python, PyTorch, and the Hugging Face Transformers library (https://github.com/huggingface/transformers). If you don’t have an environment with these tools, fret not—the example is available as a Jupyter notebook on Google Colab. The code examples are in the book’s GitHub repository: https://github.com/PacktPublishing/Python-Deep-Learning-Third-Edition/tree/main/Chapter08.