Can't clone transformersbook / distilbert-base-uncased-finetuned-emotion

by vimalkansal - opened

I am working with Chapter 2 of the Transformer book. When I reach the trainer step of the fine tuning, I error " fatal: repository '' not found" So to create the one here is what I did :

(1) I first cloned to my local machine.

(2) Then I executed : git lfs install

(3) Then I tried executing git push which gives me this error :

remote: -------------------------------------------------------------------------
remote: Your push was rejected because an LFS pointer pointed to a file that does not exist.
remote: For instance, this can happen if you used "git push --no-verify" to push your changes.
remote: Offending file: pytorch_model.bin
remote: -------------------------------------------------------------------------
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to ''

Can somebody please help?

Just for the record, you can duplicate/fork the original repo to your own HuggingFace account, and then run the notebook script (or run the notebook without logging in).

To duplicate the repo:

Sign up or log in to comment