lm-evaluation-harness

Evaluate language models across 60+ academic benchmarks with lm-evaluation-harness.

52|6|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ovachiever/droid-tings --skill lm-evaluation-harness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lm-evaluation-harness
Source: https://github.com/ovachiever/droid-tings/tree/main/skills/lm-evaluation-harness
Command: npx skills add https://github.com/ovachiever/droid-tings --skill lm-evaluation-harness

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lm-eval, transformers, vllm, and includes references (resource) components.

What problem does it solve?

Provides a unified interface to evaluate language models across a broad suite of benchmarks (MMLU, GSM8K, HumanEval, etc.), enabling rigorous model comparison.

Core Features & Use Cases

  • Benchmark Suite: 60+ tasks including code, reasoning, and multilingual benchmarks
  • Model Compatibility: supports HuggingFace, vLLM, API-based models
  • Distributed / Parallel Runs: scalable evaluation on GPUs or CPUs
  • Custom Tasks: add private datasets and metrics

Quick Start

Evaluate a 7B HF model on GSM8K and HumanEval using 5-shot prompts.

Frequently Asked Questions about lm-evaluation-harness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I benchmark language models across multiple academic tasks?

Benchmarking language models evaluates their performance on standardized tasks like MMLU, GSM8K, and HumanEval. This Skill runs your model against 60+ academic benchmarks to measure reasoning, code, and knowledge capabilities, producing comparable results across different model architectures and sizes.

Can I benchmark models from HuggingFace, vLLM, and OpenAI APIs in one workflow?

Yes. This Skill supports diverse model backends including HuggingFace, vLLM, and API-based models from OpenAI and Anthropic, plus custom endpoints. You configure your model source once and run the same benchmark suite across all of them.

What's the fastest way to track model quality improvements during training?

Training-progress workflows let you evaluate checkpoints across multiple benchmarks without full re-evaluation each time. Configure batch processing and few-shot settings to run fast-pass evaluations, generating serialized results that track quality gains incrementally.

Does this work for evaluating code generation and reasoning models?

Yes. The 60+ benchmark suite includes specialized tasks: HumanEval for code generation, GSM8K for mathematical reasoning, and MMLU for broad knowledge. Each benchmark targets different model capabilities so you get a full quality picture.

Can I add custom datasets and metrics to the standard benchmarks?

Yes. Beyond the 60+ built-in tasks, you can define custom tasks with your own datasets and evaluation metrics, then run them alongside standard benchmarks. Results serialize in the same format for unified analysis.

Do I need GPU infrastructure to run benchmark evaluations?

Benchmark evaluation scales to both GPU and CPU environments. GPU acceleration speeds large-scale runs, but CPU evaluation is supported. Parallel and distributed execution options let you tune resource use for your infrastructure.