eleftherias's picture
Change subtitle
ef9ae34
|
raw
history blame contribute delete
1.88 kB
---
title: LLM Security Leaderboard
emoji: πŸ†
colorFrom: blue
colorTo: green
sdk: docker
hf_oauth: true
pinned: true
license: apache-2.0
duplicated_from: open-llm-leaderboard/open_llm_leaderboard
tags:
- leaderboard
short_description: Measuring Security Aptitude Across LLMs
---
# Open LLM Leaderboard
Measuring Security Aptitude Across Large Language Models (LLMs).
## 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
```