Set up a virtual environment of some sort as some package version dependencies can be tricky to resolve.
See https://spacy.io/usage. Check version of CUDA (e.g. nvidia-smi
from the command line) and amend accordingly.
https://course.spacy.io/en/chapter1
https://github.com/ines/spacy-course
pip install -U pip setuptools wheel
pip install -U spacy[cuda114]
python -m spacy download en_core_web_sm
python -m spacy download en_core_web_md
pip install transformers
Text Classification with BERT in PyTorch | by Ruben (https://towardsdatascience.com/text-classification-with-bert-in-pytorch-887965e5820f)
Kaggle BBC dataset (https://www.kaggle.com/sainijagjit/bbc-dataset/version/1)