在克隆hugging face里面的項目文件的時候,需要用到git lfs,本文介紹安裝git lfs方法
在Ubuntu下
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
在Windows下
到這個鏈接里面下載最新的安裝包即可
在Mac下
brew update
brew install git-lfs
參考鏈接:https://stackoverflow.com/questions/48734119/git-lfs-is-not-a-git-command-unclear