ireneisdoomed / stopReasons

Analysis on stop reasons
Apache License 2.0
0 stars 0 forks source link

Update `transformers` version #3

Closed ireneisdoomed closed 1 year ago

ireneisdoomed commented 1 year ago

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.

ireneisdoomed commented 1 year ago

Btw, I checked their master branch and this function is fixed and improved.

ireneisdoomed commented 1 year ago

No problem with other dependencies updating to 4.26. The above mentioned error is fixed.