rm -rf .git | |
rm -rf .gitattributes | |
hf_repo=ReasoningEval/Qwen2.5-7B-Huatuo-difficulty-SFT | |
git init -b main | |
git remote add hf [email protected]:$hf_repo | |
git config pull.rebase false | |
git commit -m "init" | |
git pull hf main --allow-unrelated-histories | |
git lfs install | |
git lfs track *.json | |
git lfs track *.safetensors | |
huggingface-cli lfs-enable-largefiles . | |
git add .gitattributes | |
git add . | |
git commit -m "add lfs" | |
git pull hf main --allow-unrelated-histories | |
git push hf main |