Technical requirements
We assume the use of both PyTorch and TensorFlow for our implementation platform. The main library dependencies for our code are listed as follows:
torch
>= 1.7.1tensorflow
>= 2.6mesh-tensorflow
>= 0.0.5pip
> 19.0 (Ubuntu)pip
> 20.3 (macOS)numpy
>= 1.19.0python
>= 3.7ubuntu
>= 16.04transformers
>= 4.10.3cuda
>= 11.0torchvision
>= 0.10.0- NVIDIA driver >= 450.119.03
It is mandatory to have the preceding libraries pre-installed with the correct versions.