Your push was rejected because an LFS pointer pointed to a file that does not exist

Hi @joelb, could you try again cloning philschmid/distilbert-base-uncased-emotion with those 2 steps:

git clone https://huggingface.co/philschmid/distilbert-base-uncased-emotion
git lfs fetch --all

And then try pushing to your own repo? This should fix the issue you encountered.


When you’re pushing to a different repository than the one you got your objects from, you need to upload those objects to the new repository, even if they’ve been deleted - what git lfs fetch --all does is that it pulls all the files, even the ones deleted. Those deleted files are part of the repo history, and someone could clone the second repository and need to check out an old version, so we need to upload them.