I found a bug in the Trainer class of my current Transformers version (4.21.3). In order to push a model to the hub, inside init_git_repo the line 3248 is initialising a Repository object giving the private parameter. This attribute does not exist in such class, hence causing TypeError: Repository.__init__() got an unexpected keyword argument 'private'
I am not sure about the implications of this version bump, I had the version locked because of Tensorflow. I'll find out tomorrow.
I found a bug in the Trainer class of my current Transformers version (4.21.3). In order to push a model to the hub, inside
init_git_repo
the line 3248 is initialising aRepository
object giving the private parameter. This attribute does not exist in such class, hence causingTypeError: Repository.__init__() got an unexpected keyword argument 'private'
I am not sure about the implications of this version bump, I had the version locked because of Tensorflow. I'll find out tomorrow.