Technical requirements
All of the Python libraries used in this chapter are direct dependencies of Flair 0.11 and require no special setup, assuming Flair is already installed on your machine. Code examples covered in this chapter are found in this book's official GitHub repository in the following Jupyter notebook: https://github.com/PacktPublishing/Natural-Language-Processing-with-Flair/tree/main/Chapter05.
Running the code covered in this chapter on a GPU-enabled machine is not mandatory, though it is advised, as it will speed up the training process and allow you to train higher-quality models.