Error with gpt2 training

Can somebody please help me find a solution to my colab issue. I am trying to learn to train gpt2. Even after it gives the error and says how to fix it still does not work. What am I supposed to do? I restarted the colab and still gives errors. Here is the error:

s]


ImportError Traceback (most recent call last)

1715 if not is_accelerate_available(min_version=“0.20.1”): → 1716 raise ImportError( 1717 “Using the Trainer with PyTorch requires accelerate>=0.20.1: Please run pip install transformers[torch] or pip install accelerate -U” 1718 )

ImportError: Using the Trainer with PyTorch requires accelerate>=0.20.1: Please run pip install transformers[torch] or pip install accelerate -U

--------------------------------------------------------------------------- NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the “Open Examples” button below.
Link to colab