LightEval
Hugging Face toolkit for evaluating LLMs across multiple backends with over 1,000 tasks.
About
Whether a model sits in memory, on a GPU cluster, or behind an API, LightEval evaluates it the same way: the Hugging Face toolkit abstracts benchmark execution across backends including Transformers with Accelerate, vLLM, SGLang, Nanotron for distributed checkpoints, Text Generation Inference, Hugging Face Inference Endpoints, LiteLLM for hosted APIs, and an Inspect-AI integration. More than 1,000 tasks come built in, spanning MMLU, GSM8K, AIME, coding, multilingual, and chat-model suites, and adding a custom task or metric is a documented Python extension point rather than a fork. Sample-by-sample result inspection is a core design goal, letting failures be debugged example by example instead of through a single aggregate score, and results can push to the Hub for sharing. Installation is pip install lighteval, with a CLI dispatching to whichever backend the flags specify. Hugging Face built it for internal use alongside nanotron and datatrove during model training, and the MIT-licensed project, at about 2,500 stars, is the main open alternative to EleutherAI's lm-evaluation-harness.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- AI Observability & Evaluation
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Easy (2/5)
- License
- MIT
- Added
- Jul 29, 2026
Related Tools
UK AI Security Institute framework for large language model evaluations and benchmarks.
ML experiment tracking, visualization, and collaboration
Open source LLM engineering platform for tracing and analytics
Open-source library for evaluating and tracking LLM applications.
Open-source AI metadata tracker for logging and comparing ML experiments.
Python framework for unit testing and evaluating LLM applications with metrics like G-Eval.