lm-evaluation-harness
by
EleutherAI

Description: A framework for few-shot evaluation of language models.

View on GitHub ↗

Summary Information

Updated 51 minutes ago
Added to GitGenius on June 22nd, 2026
Created on August 28th, 2020
Open Issues & Pull Requests: 905 (+0)
Number of forks: 3,402
Total Stargazers: 13,244 (+2)
Total Subscribers: 51 (+0)

Issue Activity (beta)

Open issues: 465
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 457 days
Stale 30+ days: 445
Stale 90+ days: 418

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • asking questions (74)
  • bug (66)
  • feature request (59)
  • good first issue (29)
  • help wanted (29)
  • validation (22)
  • documentation (6)
  • opinions wanted (4)

Repository Insights (GitGenius)

Median issue/PR response: 10.4 hours
Mean response time: 14.6 days
90th percentile: 25.5 days
Tracked items: 778

Most active contributors

Detailed Description

The Language Model Evaluation Harness is a unified framework developed by EleutherAI for evaluating generative language models across a large collection of standardized benchmarks. The repository provides infrastructure to test language models on over 60 academic benchmarks with hundreds of subtasks and variants, making it a comprehensive tool for assessing model performance across diverse evaluation tasks.

The framework supports multiple model loading backends and inference engines. Users can evaluate models loaded through HuggingFace's transformers library, GPT-NeoX, and Megatron-DeepSpeed, with flexible tokenization-agnostic interfaces. The project also supports fast inference through vLLM, commercial APIs including OpenAI and TextSynth, and evaluation of models with adapters such as LoRA from HuggingFace's PEFT library. Recent updates have made the base package lighter by removing default dependencies on transformers and torch, requiring users to install specific model backends separately through optional extras like pip install lm_eval[hf] or lm_eval[vllm].

Key features include support for GGUF format models, multi-GPU evaluation through HuggingFace's accelerate library with both data parallelism and model sharding options, and automatic batch size detection. The framework uses publicly available prompts to ensure reproducibility and comparability across research papers. Users can easily customize prompts and evaluation metrics, and the system supports Jinja2 prompt design with imports from Promptsource.

Recent developments documented in the README show significant evolution. A December 2025 CLI refactoring introduced subcommands for run, ls, and validate operations along with YAML configuration file support. The framework added support for stripping chain-of-thought reasoning traces through think_end_token arguments, HuggingFace model steering capabilities, and SGLang support. Multimodal evaluation was prototyped with hf-multimodal and vllm-vlm model types, though the project acknowledges lmms-eval as a more comprehensive multimodal alternative.

The Language Model Evaluation Harness serves as the backend for HuggingFace's Open LLM Leaderboard and has been cited in hundreds of academic papers. It is used internally by major organizations including NVIDIA, Cohere, BigScience, BigCode, Nous Research, and Mosaic ML. The repository shows active maintenance with a median issue and pull request response latency of 10.4 hours according to GitGenius tracking data. The most active contributors tracked include baberabb with 683 events, haileyschoelkopf with 448 events, and StellaAthena with 154 events. Common issue categories involve asking questions, bug reports, and feature requests, indicating an engaged user community. The repository has grown to 13,174 stargazers as of the latest tracking update.

lm-evaluation-harness
by
EleutherAIEleutherAI/lm-evaluation-harness

Repository Details

Fetching additional details & charts...