I cannot fulfill the correct requirements for executing your kindly prepared google-colab sheet. Below I summarized my failure.
tensorflow 2.9.2 requires protobuf<3.20,>=3.9.2, but you have protobuf 3.20.3 which is incompatible.
tensorflow 2.9.2 requires tensorboard<2.10,>=2.9, but you have tensorboard 2.11.2 which is incompatible.
ModuleNotFoundError: No module named 'torchtext.legacy'.
So I upgrade to 1.13.1.
Then I get
11 from torchtext.data.utils import RandomShuffler
12 from .example import Example
---> 13 from torchtext.utils import download_from_url, unicode_csv_reader
14
15
ImportError: cannot import name 'unicode_csv_reader' from 'torchtext.utils' (/usr/local/lib/python3.8/dist-packages/torchtext/utils.py)
torchvision 0.14.1+cu116 requires torch==1.13.1, but you have torch 1.7.0 which is incompatible.
torchtext 0.10.0 requires torch==1.9.0, but you have torch 1.7.0 which is incompatible.
torchaudio 0.13.1+cu116 requires torch==1.13.1, but you have torch 1.7.0 which is incompatible.