Hello!
I am trying to train distilgpt2 with my own data on colab. The problem is, even after installing the packages from requirements.txt, it is running into an import error. I am reproducing the entire error below.
Traceback (most recent call last):

File “train.py”, line 28, in 
from distiller import Distiller
File “/content/transformers/examples/distillation/distiller.py”, line 31, in 
from grouped_batch_sampler import GroupedBatchSampler, create_lengths_groups
File “/content/transformers/examples/distillation/grouped_batch_sampler.py”, line 24, in 
from utils import logger
File “/content/transformers/examples/distillation/utils.py”, line 23, in 
import git
File “/usr/local/lib/python3.6/dist-packages/git/init.py”, line 38, in 
from git.exc import *                       # @NoMove @IgnorePep8
File “/usr/local/lib/python3.6/dist-packages/git/exc.py”, line 9, in 
from git.compat import UnicodeMixin, safe_decode, string_types
File “/usr/local/lib/python3.6/dist-packages/git/compat.py”, line 16, in 
from gitdb.utils.compat import (
ModuleNotFoundError: No module named ‘gitdb.utils.compat’
Any help is appreciated. Is this because of an improper version of python?
NB : I have restarted the runtime after installing packages from requirements.txt , but still the error persists.
Thank you for your time!