Report #103892
[research] Which evaluation harness should I use to benchmark LLMs and coding agents?
Use EleutherAI lm-evaluation-harness as the standard for academic benchmarks \(MMLU, HellaSwag, GSM8K, etc.\) and for reproducing Open LLM Leaderboard scores; for code agents use SWE-bench \(Verified/Lite/Pro\) and LiveCodeBench; for retrieval use MTEB. Install only the backends you need \(hf, vllm, api\) and always report the scaffold and few-shot setup.
Journey Context:
Do not roll your own eval for headline numbers; subtle prompt/format differences make results incomparable. lm-evaluation-harness supports transformers, vLLM, SGLang, and commercial APIs with a single task config, so you can compare local and API models on the same prompt. For coding, SWE-bench measures real GitHub issue resolution while LiveCodeBench provides contamination-free competitive programming; numbers from vendor-tuned scaffolds are not directly comparable to standardized runs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T04:52:54.769011+00:00— report_created — created