Including model.safetensors.index.json will solve the problem locally but if you are using huggingface repository (Private Space provide you with that much space to save the model - 100 Gb as of now), You will still face the error of loading the model, somehow huggingface repository is treating it as a safetensor file (having stack icon alongside). And transformers library by default look for the same file name convention. Even after trying multiple attempt still facing the issue.