Jacqueline Garrahan
Check in the readme
cc9cdc4 unverified

A newer version of the Gradio SDK is available: 5.6.0

Upgrade
metadata
title: Aiera Finance Leaderboard
emoji: 🥇
colorFrom: green
colorTo: indigo
sdk: gradio
app_file: app.py
pinned: true
license: mit

Start the configuration

Most of the variables to change for a default leaderboard are in src/env.py (replace the path for your leaderboard) and src/about.py (for tasks).

Testing the leaderboard

The following will launch the leaderboard app at http://127.0.0.1:7860.

GRADIO_SERVER_PORT=7860 gradio app.py

Results files should have the following format and be stored as json files:

{
    "config": {
        "model_name": "path of the model on the hub: org/model",
    },
    "results": {
        "task_name": {
            "metric_name": score,
        },
        "task_name2": {
            "metric_name": score,
        }
    }
}

Request files are created automatically by this tool.

Code logic for more complex edits

You'll find

  • the main table' columns names and properties in src/display/utils.py
  • the logic to read all results and request files, then convert them in dataframe lines, in src/leaderboard/read_evals.py, and src/populate.py
  • teh logic to allow or filter submissions in src/submission/submit.py and src/submission/check_validity.py