File size: 661 Bytes
fbe01f5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
rm -rf .git
rm -rf .gitattributes	# remove the .gitattributes from huatuo_training repo
hf_repo=ReasoningEval/Qwen2.5-7B-Huatuo-quality-difficulty-SFT-RL	# set according repo name
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