CoolFace
Apppublic

open-llm-leaderboard/open_llm_leaderboard

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
14klikes
App README

Open LLM Leaderboard

Modern React interface for comparing Large Language Models (LLMs) in an open and reproducible way.

Features

  • โ€”๐Ÿ“Š Interactive table with advanced sorting and filtering
  • โ€”๐Ÿ” Semantic model search
  • โ€”๐Ÿ“Œ Pin models for comparison
  • โ€”๐Ÿ“ฑ Responsive and modern interface
  • โ€”๐ŸŽจ Dark/Light mode
  • โ€”โšก๏ธ Optimized performance with virtualization

Architecture

The project is split into two main parts:

Frontend (React)

frontend/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/     # Reusable UI components
โ”‚   โ”œโ”€โ”€ pages/         # Application pages
โ”‚   โ”œโ”€โ”€ hooks/         # Custom React hooks
โ”‚   โ”œโ”€โ”€ context/       # React contexts
โ”‚   โ””โ”€โ”€ constants/     # Constants and configurations
โ”œโ”€โ”€ public/            # Static assets
โ””โ”€โ”€ server.js          # Express server for production

Backend (FastAPI)

backend/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ api/           # API router and endpoints
โ”‚   โ”‚   โ””โ”€โ”€ endpoints/ # Specific API endpoints
โ”‚   โ”œโ”€โ”€ core/          # Core functionality
โ”‚   โ”œโ”€โ”€ config/        # Configuration
โ”‚   โ””โ”€โ”€ services/      # Business logic services
โ”‚       โ”œโ”€โ”€ leaderboard.py
โ”‚       โ”œโ”€โ”€ models.py
โ”‚       โ”œโ”€โ”€ votes.py
โ”‚       โ””โ”€โ”€ hf_service.py
โ””โ”€โ”€ utils/             # Utility functions

Technologies

Frontend

  • โ€”React
  • โ€”Material-UI
  • โ€”TanStack Table & Virtual
  • โ€”Express.js

Backend

  • โ€”FastAPI
  • โ€”Hugging Face API
  • โ€”Docker

Development

The application is containerized using Docker and can be run using:

bash
docker-compose up