Technical requirements
We’ll implement the example in this chapter using Python, PyTorch, the Hugging Face Transformers library (https://github.com/huggingface/transformers), and the LangChain framework (https://www.langchain.com/, https://github.com/langchain-ai/langchain). 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 can be found in this book’s GitHub repository: https://github.com/PacktPublishing/Python-Deep-Learning-Third-Edition/tree/main/Chapter09.