Hello everybody,
I recently fine-tuned a GPT model (GPT2LMHeadModel) and tried to push it to hub.  I followed the tutorial but got this strange error: ‘GPT2LMHeadModel’ object has no attribute ‘push_to_hub’

Screenshot 2021-11-10 at 21.31.481182×727 218 KB

I’ve updated the transformers library to the latest version, as shown in the screenshot. Can anybody help me with that? I’ve been working on this problem for 3 hours but still in vain…
(By the way I was coding on Kaggle)
Any help is appreciated!