Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fboulnois/llm-leaderboard-csv

CSVs of the Huggingface and LMSYS LLM leaderboards, along with the code to generate them in R.
https://github.com/fboulnois/llm-leaderboard-csv

chatgpt csv huggingface llama llama2 llama3 llm lmsys mistral open-llm-leaderboard openai r

Last synced: 7 days ago
JSON representation

CSVs of the Huggingface and LMSYS LLM leaderboards, along with the code to generate them in R.

Awesome Lists containing this project

README

        

# LLM Leaderboard CSVs

Generate CSVs of the [Huggingface Open LLM Leaderboard](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
(v1 and v2), the [LMSYS Chatbot Arena Leaderboard](https://chat.lmsys.org/?leaderboard),
and the merged leaderboard in R.

The latest CSVs can be downloaded from the [Releases](https://github.com/fboulnois/llm-leaderboard-csv/releases) page.

## Run

> [!TIP]
> Delete the `csv` directory before running the code if you want to recreate the
CSVs using the latest data.

### Run using R or RStudio

The code is in [`huggingface.R`](huggingface.R):

```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")
```

### Run using Docker

A [`Dockerfile`](Dockerfile) is also provided to build and run the code using
the official `r-base` Docker image:

```bash
docker build . --tag llm-leaderboard-csv
docker run -v ./csv:/home/docker/csv --rm llm-leaderboard-csv
```