File size: 465 Bytes
954ea18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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