Can't clone transformersbook / distilbert-base-uncased-finetuned-emotion
I am working with Chapter 2 of the Transformer book. When I reach the trainer step of the fine tuning, I error " fatal: repository 'https://huggingface.co/vimalkansal/distilbert-base-uncased-finetuned-emotion/' not found" So to create the one here is what I did :
(1) I first cloned https://huggingface.co/transformerbook/distilbert-base-uncased-finetuned-emotion 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: -------------------------------------------------------------------------
To https://huggingface.co/vimalkansal/distilbert-base-uncased-finetuned-emotion
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://huggingface.co/vimalkansal/distilbert-base-uncased-finetuned-emotion'
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: https://huggingface.co/spaces/osanseviero/repo_duplicator