Rubric libraries & frameworks

lm-evaluation-harness

by EleutherAI

What is lm-evaluation-harness? lm-evaluation-harness is EleutherAI's open-source (MIT) framework for running standard academic benchmarks against language models, with over 60 benchmarks and hundreds of subtasks and variants. It powered Hugging Face's Open LLM Leaderboard.

Page last updated 2026-10-18 · Evals Review

Editor note

An open-source framework for running over 60 standard academic benchmarks, with hundreds of subtasks and variants, against language models. It powered Hugging Face's Open LLM Leaderboard.

What it tests
Models on standard academic benchmarks with consistent prompts.
Original source
github.com/EleutherAI/lm-evaluation-harness
Last updated
Repo last commit 2026-09-14
License
MIT

Facts come only from the linked source (checked 15–16 Oct 2026). Credit belongs to the creators. We don't score or rank evals: how we review.

When to use lm-evaluation-harness

  • You want to run many standard benchmarks (MMLU, GSM8K, HellaSwag and others) on a model with one tool and consistent prompts.
  • You compare base or open-weight models and want results others can reproduce.

Limitations

  • Scores depend on task version, prompt format and few-shot settings; report them with the harness version.
  • It targets model benchmarks, not tests of your own app; use DeepEval or Promptfoo for that.

How to run it

  1. Install from the repository.
  2. Run lm_eval with a model and a task list.
pip install lm-eval
lm_eval --model hf --model_args pretrained=<model> --tasks gsm8k,mmlu --batch_size 8

Notable results

  • README (read 16 Oct 2026): over 60 standard academic benchmarks with hundreds of subtasks; the backend for Hugging Face's Open LLM Leaderboard and used in hundreds of papers. [Official repository]

Sources

Everything above comes from the sources listed, read on 15–16 Oct 2026. Commands are copied from the official instructions; check the source for changes.

Reviews

No reviews yet.

Reviews are written by people who sign in with GitHub, one per account per eval. We can't confirm that each reviewer used the eval; we remove reviews that break our rules, never just for being negative, and we never add, buy or edit reviews. Averages, when shown, come only from these reviews.

Sign in with GitHub to review

Related rubric libraries & frameworks evals

All Rubric libraries & frameworks evals · Comparison table

Discussion

No one has discussed lm-evaluation-harness yet. Have you run it? Share what it caught, what it missed or how you set it up.

Sign in with GitHub to comment

Be specific and kind. No promotion or affiliate links. Community rules · All discussions

Related reading