djstrong's picture
Update README.md
df67f4c verified

A newer version of the Gradio SDK is available: 5.6.0

Upgrade
metadata
title: Open PL LLM Leaderboard
emoji: 🏆🇵🇱
colorFrom: gray
colorTo: red
sdk: gradio
sdk_version: 4.36.0
app_file: app.py
pinned: true
license: apache-2.0
tags:
  - leaderboard
  - modality:text
  - eval:generation
  - language:polish
  - judge:auto
  - test:public
  - submission:manual

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

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

Results files should have the following format:

{
    "config": {
        "model_dtype": "torch.float16", # or torch.bfloat16 or 8bit or 4bit
        "model_name": "path of the model on the hub: org/model",
        "model_sha": "revision on the hub",
    },
    "results": {
        "task_name": {
            "metric_name": score,
        },
        "task_name2": {
            "metric_name": score,
        }
    }
}

Request files are created automatically by this tool.

If you encounter problem on the space, don't hesitate to restart it to remove the create eval-queue, eval-queue-bk, eval-results and eval-results-bk created folder.

If you want to run your own backend, you only need to change the logic in src/backend/run_eval_suite, which at the moment launches the Eleuther AI Harness.