Removing .bin files from local repo but not from hub
All,I want to remove the .bin files from a falcon-40b-instruct from my local machine. However, when I do that, I also remove them from the hub repo so I cannot deploy to an inference endpoint.I want to still be able to change the other files later via a push from my local repo - so I only want to remove the .bin files locally.Is there a way to remove the .bin files locally without removing them from the hub repo?Many thanks,Andres
2023-07-06T13:51:22Z
You can find the answer inthistutorial (“Convert lfs file to pointer” section).Also, when cloning a repo, it’s a good idea to prependGIT_LFS_SKIP_SMUDGE=1to the command to download non-LFS files (and LFS pointers) only and save disk space. You can still download the content of LFS files later if you need it withgit lfs pull -I path_to_lfs_file.
2023-07-06T17:09:53Z
Thanks that’s very helpful!