File size: 559 Bytes
e92d2df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#memo
#fastchatを入れて、以下のコードを実行


#conda activate arena
while true; do
    #git
    cd chatbotarena-ja-log
    git pull
    cd ../
    cp chatbotarena-ja-log/data/*-conv.json server0  #copy
    rm elo_results.pkl
    rm clean.json
    cp ../*-conv.json server0  #copy
    python3 ../fastchat/serve/monitor/clean_battle_data.py
    mv clean_battle*.json clean.json
    python3 ../fastchat/serve/monitor/elo_analysis.py --clean-battle-file clean.json
    mv elo_results*.pkl elo_results.pkl
    python3 hf_upload.py
    sleep 7200
done