Evalchemy is a unified evaluation toolkit for post-trained language models, developed by the DataComp community and Bespoke Labs, built on top of LM-Eval-Harness. Its purpose is to let users run multiple benchmarks with a consistent command-line interface and manage evaluation results.
Main capabilities include: unified installation, reducing dependency conflicts; support for data parallelism (multi-GPU distribution) and model parallelism (large models that do not fit on a single GPU); built-in all LM-Eval-Harness tasks, as well as custom instruction tasks such as MTBench, WildBench, RepoBench, MixEval, IFEval, AlpacaEval, HumanEval, HumanEvalPlus, ZeroEval, MBPP, MBPPPlus, BigCodeBench, MultiPL-E, CRUXEval, AIME24, AIME25, AMC23, MATH500, LiveCodeBench, LiveBench, GPQA Diamond, Alice in Wonderland, etc.; support for HuggingFace, vLLM, and OpenAI models, and access to API models supported by LiteLLM through Curator.
Usage: conda installation is recommended. When running evaluations, OPENAI_API_KEY must be set (if using an LLM judge). Common parameters include --model, --tasks, --model_args, --batch_size, --output_path, and results are written to output_path. YAML configuration files (--config) are supported to reuse common settings; see ./configs and eval/examples for examples. Results can be viewed with jq, for example jq '.results' logs/Qwen__Qwen2.5-7B-Instruct/results_2024-11-17T17-12-28.668908.json.
Applicable scenarios: evaluating the performance of post-trained language models in dimensions such as mathematical reasoning, code generation, instruction following, multi-turn dialogue, and real-world tasks; support for multi-node distributed evaluation on HPC clusters and offline mode.
Limitations and notes: BigCodeBench evaluation strongly recommends using a Docker container, because executing LLM-generated code may cause destructive consequences; ZeroEval requires applying for access to the ZebraLogicBench-private dataset and logging in to HuggingFace; some benchmarks (Arena-Hard-Auto, SWE-Bench, SafetyBench, SciCode Bench, Berkeley Function Calling Leaderboard) are marked as coming soon; custom evaluations require implementing eval_instruct.py under eval/chat_benchmarks/, containing the two functions eval_instruct(model) and evaluate(results).