# OLMES

> Reproducible language-model evaluation with fixed prompts and standardized settings

- Category: Evaluation & Production Ops / Benchmark Harnesses
- Language: Python
- Repository: https://github.com/allenai/olmes
- Canonical page: https://ai-tldr.dev/tools/olmes/

## In short

OLMES (Open Language Model Evaluation System) is the evaluation toolkit Ai2 (Allen Institute for AI) uses to score base and instruction-tuned language models across a range of tasks. It sits in the Benchmark Harnesses category of the Evaluation & Production Ops tools and is open-source, written in Python. To get started: install.

## Overview

OLMES (Open Language Model Evaluation System) is the evaluation toolkit Ai2 (Allen Institute for AI) uses to score base and instruction-tuned language models across a range of tasks. It standardizes prompt formats, few-shot examples, and scoring settings so that results from different models can be compared on the same footing.

It is aimed at researchers and engineers who train or fine-tune LLMs and need benchmark numbers they can trust and reproduce. You point it at a Hugging Face model and one or more tasks, and it runs the evaluation and writes structured results to an output directory.

As a benchmark harness, OLMES builds on EleutherAI's lm-evaluation-harness with added support for task variants, instance-level prediction data (such as logprobs), custom metrics, and integration with external result storage. It ships ready-made task suites that reproduce the numbers reported in the OLMo, OLMo 2, OLMo 3, and TÜLU 3 papers.

## What it does

- Standardized OLMES task formats (curated few-shot examples, multiple-choice and cloze formulations) so scores compare fairly across models
- Evaluates any Hugging Face model by path, plus a built-in model library for common references
- Pre-built task suites that reproduce OLMo, OLMo 2, OLMo 3, and TÜLU 3 paper results
- Records detailed instance-level data including logprobs, custom metrics, and metric aggregations
- Optional vLLM backend via the gpu extra for faster inference
- Helper flags like --inspect to preview a sample prompt and --dry-run to inspect the launch command

## Getting started

Clone the repo and install with uv or pip, then run an evaluation against a model and task.

1. Install

   Clone the repository and install with uv or pip. Add the gpu extra if you want vLLM support.

```bash
git clone https://github.com/allenai/olmes.git
cd olmes

# To install with uv:
uv sync
uv sync --group gpu # for vLLM support

# To install with pip:
pip install -e .
pip install -e ".[gpu]" # for vLLM support
```

2. Run an evaluation

   Point olmes at a model and a task, and set an output directory. This runs the standard OLMES version of ARC Challenge and stores results in the workspace folder.

```bash
olmes \
    --model allenai/OLMo-2-0425-1B \
    --task arc_challenge::olmes \
    --output-dir workspace
```

3. Inspect or dry-run first

   Use --inspect to preview a sample prompt (with a small 5-instance eval), or --dry-run to print the launch command without running it. Run olmes --help for the full argument list.

```bash
olmes --task arc_challenge:mc::olmes --inspect
```

4. Run a full task suite

   Pass one of the bundled suites to reproduce the tasks from a paper, such as the 10 multiple-choice tasks from the OLMES paper.

```bash
olmes \
    --model allenai/OLMo-2-1124-7B \
    --task \
        core_9mcqa::olmes \
        mmlu::olmes \
    --output-dir workspace
```

## When to use it

- Benchmarking a newly trained or fine-tuned LLM on standardized tasks so the scores are comparable with other models
- Reproducing the evaluation numbers reported in the OLMo, OLMo 2, OLMo 3, or TÜLU 3 papers
- Collecting instance-level prediction data (such as logprobs) for deeper analysis of model behavior
- Comparing multiple checkpoints or model variants under identical prompt formats and settings
