As explained by the error, you need to install Transformers from source.
What I usually do is using the following command:
!rm -r transformers
!git clone https://github.com/huggingface/transformers.git
!cd transformers
!pip install -q ./transformers