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 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 the book’s GitHub repository: https://github.com/PacktPublishing/Python-Deep-Learning-Third-Edition/tree/main/Chapter07.