File size: 1,377 Bytes
0189dbf
 
 
 
 
 
 
 
 
 
 
 
 
e0bc74c
4ff62ee
b5b19aa
29546b4
e0bc74c
4f3c2a8
6a4841e
 
4f3c2a8
e0bc74c
331f902
 
e0bc74c
 
 
6a4841e
e0bc74c
01ea22b
6a4841e
 
 
 
 
 
 
 
e0bc74c
01ea22b
e0bc74c
 
ae227e4
e0bc74c
 
 
b5b19aa
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
48
49
---
title: "FilBench Leaderboard"
emoji: 🥇
colorFrom: green
colorTo: indigo
sdk: gradio
app_file: app.py
pinned: true
license: apache-2.0
short_description: An Open LLM Leaderboard for Filipino
sdk_version: 5.19.0
---

# HF Leaderboard Backend

This is a fork of the [leaderboard demo from HuggingFace](https://huggingface.co/demo-leaderboard-backend) with some additional scripts for parsing the results from our evaluation runs.

## Set-up and installation

To start development, clone the repository and install the dependencies.
Make sure to also install the pre-commit hooks so that formatting is uniform across the codebase.

```sh
git clone git@github.com:filbench/hf-leaderboard-backend.git
cd hf-leaderboard-backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pre-commit install
```

To view the leaderboard **locally**, then run the following command:

```sh
gradio app.py
```

This will launch the leaderboard (by default in `localhost:7860`) in hot-reload mode, so you can see the changes as you edit the source code.

## Updating the HuggingFace Space

All development should happen in this GitHub remote.
If you want to update the HuggingFace space, you should add a remote pointing to the space and push all changes.

```sh
git remote add hf https://huggingface.co/spaces/UD-Filipino/filbench-leaderboard
git push hf main
```