Problems with importing PushToHubCallback

Hi, I’m currently following the tutorial from hugging face for fine-tuning a masked language model (Fine-tuning a masked language model - Hugging Face Course). There they import PuchToHubCallback from Keras. This is not working for me and I can’t find anything about this anywhere either.


This is the error Message. I have already installed transformers with the comment !pip install transformers. so I don’t know how to continue now. Maybe someone can help me?!
Thank you very much in advance!

You proably have an older version of Transformers. Try

! pip install transformers -U