Skip to main content
Evaluation & ObservabilityProduction

LM Evaluation Harness

EleutherAI / lm-evaluation-harness

A standard LLM evaluation harness covering hundreds of tasks, few-shot settings, log-likelihood and generative metrics, with HF, vLLM and API backends.

14.5k stars 3822 forks Python Language MIT License Last push 2026-11-04

Why choose it

  • A shared harness makes scores comparable across models.
  • Task definitions and prompts are explicit and versioned.
  • Supports local and API backends.

Not for

You need a business-specific evaluation that the public tasks do not cover.
You cannot control prompt templates and scoring settings.

Minimum setup

  1. Run one small task on a local model with a fixed few-shot count.
  2. Record the task version, prompt template and scoring script.
  3. Re-run with a different backend and compare the delta.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is MIT; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • Inspect AI — Niche,An evaluation framework from the UK AI Safety Institute for rigorous, reproducible task evaluation.
  • Ragas — Start here,A RAG evaluation library covering retrieval relevance, answer faithfulness and context recall.
  • Arize Phoenix — Production,Open-source LLM tracing and evaluation on OpenTelemetry, with visual exploration and dataset management.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.