Generate CSVs of the Huggingface Open LLM Leaderboard (v1 and v2), the LMSYS Chatbot Arena Leaderboard, and the merged leaderboard in R.
The latest CSVs can be downloaded from the Releases page.
Tip
Delete the csv
directory before running the code if you want to recreate the
CSVs using the latest data.
The code is in huggingface.R
:
# install the required dependencies
install.packages(c("data.table", "rvest", "stringr", "jsonlite"))
# run the code to generate the leaderboard data.tables
source("huggingface.R")
A Dockerfile
is also provided to build and run the code using
the official r-base
Docker image:
docker build . --tag llm-leaderboard-csv
docker run -v ./csv:/home/docker/csv --rm llm-leaderboard-csv