metadata
title: OPEN-MOE-LLM-LEADERBOARD
emoji: 🔥
colorFrom: green
colorTo: indigo
sdk: gradio
sdk_version: 4.9.0
app_file: app.py
pinned: true
license: apache-2.0
fullWidth: true
tags:
- leaderboard
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Contributing to Open-MOE-LLM-Leaderboard
Thank you for your interest in contributing to the Open-MOE-LLM-Leaderboard project! We welcome contributions from everyone. Below you'll find guidance on how to set up your development environment, understand our architecture, and contribute effectively. If you have any questions or wish to discuss your contributions, please reach out to Yao Fu via email at Y.Fu@ed.ac.uk.
What We're Looking For in Contributions
We are looking for contributions in several key areas to enhance the Open-MOE-LLM-Leaderboard project:
General Bug Fixes/Reports: We welcome reports of any bugs found in the frontend interface or backend, as well as fixes for these issues.
Adding New Tasks (Benchmark Datasets): If you have ideas for new benchmark datasets that could be added, your contributions would be greatly appreciated.
Supporting New Inference Frameworks: Expanding our project to support new inference frameworks is crucial for our growth. If you can contribute in this area, please reach out.
Testing More Models: To make our leaderboard as comprehensive as possible, we need to test a wide range of models. Contributions in this area are highly valuable.
Documentation is currently of lower priority, but if you have thoughts or suggestions, please feel free to raise them.
Your contributions are crucial to the success and improvement of the Open-MOE-LLM-Leaderboard project. We look forward to collaborating with you.
Development Setup
To start contributing, set up your development environment as follows:
conda create -n leaderboard python=3.10
conda activate leaderboard
pip install -r requirements.txt
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ moe-infinity
pip install pydantic==2.6.4
python -m spacy download en
Architecture Overview
The Open-MOE-LLM-Leaderboard project uses the following architecture:
- User Interface (Gradio) ->upload-> HuggingFace Dataset (Request) ->download-> Backend GPU Server ->upload-> HuggingFace Dataset (Result) ->download-> User Interface (Gradio)
In brief:
- Users submit model benchmarking requests through the Gradio interface (app.py). These requests are then recorded in a HuggingFace dataset (sparse-generative-ai/requests).
- The backend (backend-cli.py), running on a GPU server, processes these requests, performs the benchmarking tasks, and uploads the results to another HuggingFace dataset (sparse-generative-ai/results).
- Finally, the Gradio interface retrieves and displays these results to the users.
Running the Gradio Interface
To launch the Gradio interface, execute:
python app.py
Then, open your browser and navigate to http://127.0.0.1:7860.
Running the Backend
To start the backend process, use:
python backend-cli.py --debug
For additional details, please consult the backend-cli.py script.
We look forward to your contributions and are here to help guide you through the process. Thank you for supporting the Open-MOE-LLM-Leaderboard project!