|
rm -rf .git |
|
rm -rf .gitattributes |
|
hf_repo=ReasoningEval/Qwen2.5-7B-Huatuo-quality-difficulty-SFT-RL |
|
git init -b main |
|
git remote add hf [email protected]:$hf_repo |
|
|
|
git config pull.rebase false |
|
git config --global user.email [email protected] |
|
git config --global user.name juncheng |
|
git commit -m "init" |
|
git pull hf main --allow-unrelated-histories |
|
|
|
git lfs install |
|
git lfs track *.json |
|
git lfs track *.safetensors |
|
git lfs track *.bin |
|
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 |