Spaces:
Running
on
Zero
Running
on
Zero
File size: 992 Bytes
e368cec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
## Computing the Elo Ratings
```bash
apt-get -y install pkg-config
pip install -r requirements.txt
```
### to update the leaderboard
```bash
export LOGDIR="/path/to/your/logdir"
bash update_elo_rating.sh
```
### to inspect the leaderboard status
```bash
python -m elo_rating.inspect_elo_rating_pkl
```
### to inspect the collected data status and cost
```bash
export LOGDIR="/path/to/your/logdir"
python -m elo_rating.inspect_cost
```
### to upload the battle data to hugging face🤗
```bash
export HUGGINGFACE_TOKEN="your_huggingface_token"
bash get_latest_data.sh
python -m elo_rating.upload_battle_data --repo_id "WildVision/wildvision-bench" --log_dir "./vision-arena-logs/"
```
### to upload the chat data to hugging face🤗
```bash
export HUGGINGFACE_TOKEN="your_huggingface_token"
bash get_latest_data.sh
python -m elo_rating.upload_chat_data --repo_id "WildVision/wildvision-bench" --log_dir "./vision-arena-logs/"
```
### to get the collected data
```bash
python -m
|