Hello.
I have a local read-only copy of my repository, and I want to select a specific checkpoint from this repository for inference.
This approach does not work:
GIT_LFS_SKIP_SMUDGE=1 git clone file:///kaggle/input/indic-wav2vec-accel-v1/indic-wav2vec-benagli-finetuned3/.git my_repo_dir_1
cd my_repo_dir_1
GIT_LFS_SKIP_SMUDGE=1 git checkout 705fde2520c5a36806cd6bedd0b5bf177ed3b861
git lfs pull -I pytorch_model.bin
EOFnloading LFS objects: 100% (1/1), 1.3 GB | 0 B/s
error: failed to fetch some objects from 'file:///kaggle/input/indic-wav2vec-accel-v1/indic-wav2vec-benagli-finetuned3/.git'
Loading the model with .from_pretrained(repo_dir, revision='705fde2520c5a36806cd6bedd0b5bf177ed3b861')
also does not work; it loads the last checkpoint instead of the specified revision.
How can I select a specific checkpoint from a local repository?