pip install datasets soundfile speechbrain accelerate
Install 🤗Transformers from source as not all the SpeechT5 features have been merged into an official release yet:

pip install git+https://github.com/huggingface/transformers.git

To follow this guide you will need a GPU. If you're working in a notebook, run the following line to check if a GPU is available: 

!nvidia-smi
or alternatively for AMD GPUs:

!rocm-smi