rm -rf .git | |
rm -rf .gitattributes # remove the .gitattributes from huatuo_training repo | |
hf_repo=ReasoningEval/DeepSeek-R1-Distill-Qwen-7B-Huatuo-SFT-all-RL # set according repo name | |
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 push hf main |