Technical requirements
To complete the tasks in this chapter, you will need the following:
- A Hugging Face account and user access token.
- Python 3.7.1 or later version.
- Python packages: Make sure to have the following Python packages installed:
python-dotenv,huggingface_hub,accelerate>=0.16.0,<1 transformers[torch],safetensors,tensorflow,datasets,evaluate, andaccelerate. Those can be easily installed viapip installin your terminal. If you want to install everything from the latest release, you can refer to the original GitHub by runningpip install git+https://github.com/huggingface/transformers.gitin your terminal.
You can find all the code and examples in the book’s GitHub repository at https://github.com/PacktPublishing/Building-LLM-Powered-Applications.