LM Evaluation Harness
FreeEleutherAI's unified LLM evaluation framework
About LM Evaluation Harness
The LM Evaluation Harness is an open-source framework developed by EleutherAI for few-shot evaluation of autoregressive language models. It provides a unified interface to evaluate models on hundreds of standard benchmarks, including tasks from the Open LLM Leaderboard. The framework supports config-based task creation with YAML files, Jinja2 prompt design, output post-processing, and answer extraction. It integrates with multiple model backends such as HuggingFace (transformers), vLLM, SGLang, and API-based models, and also includes a prototype for multimodal (text+image) evaluation. Recent updates have introduced a CLI with subcommands (run, ls, validate), lighter installation options, and support for model steering and chain-of-thought trace stripping.
Key Features
Pros & Cons
- Open-source and free to use
- Unified framework supporting a wide range of models and tasks
- Active development with regular updates and community contributions
- Config-based task creation simplifies custom evaluation
- Supports both local and API-based model backends
- Includes multimodal evaluation capabilities (prototype)
- Primarily focused on autoregressive language models; limited support for other architectures
- Multimodal evaluation is still in prototype stage
- Requires technical expertise to install, configure, and run
- Dependency on external model backends may require significant compute resources
- Documentation is primarily on GitHub; may be scattered