kostis-init/CP-Bench-Leaderboard
3
[!IMPORTANT] CP-Bench has been superseded by DCP-Bench-Open. This repository is kept for archival and reproducibility purposes only. Please use the current version here: DCP-Bench/DCP-Bench-Open.
๐ CP-Bench Leaderboard
This repository contains the leaderboard of the CP-Bench dataset.
๐ Structure
app.pyโ Launches the Gradio interface.src/โ Contains the main logic for fetching and displaying leaderboard data.'config.pyโ Configuration for the leaderboard.eval.pyโ Evaluation logic for model submissions.hf_utils.pyโ Utilities file.ui.pyโ UI components for displaying the leaderboard.user_eval.pyโ The logic for the evaluation of submitted models, it can also be used to evaluate models locally.README.mdโ (you are here)
๐ง How It Works
- Users submit a .jsonl file with their generated models
- The submission is uploaded to a storage repository (Hugging Face Hub).
- An evaluation script is triggered, which:
- Loads the submission.
- Evaluates the models against the benchmark dataset.
- Computes metrics.
- The results are stored and displayed on the leaderboard.
๐ ๏ธ Development
To run locally:
pip install -r requirements.txt
python app.pyIf you wish to contribute or modify the leaderboard, feel free to open discussions or pull requests. For adding more modelling frameworks, please modify the src/user_eval.py file to include the execution code for the new framework.
