Run a small HELM benchmark locally: check helm-run, helm-summarize and helm-server outputs
Run the official two-run mmlu example, then check the files under benchmark_output/runs/my-suite/ and the localhost:8000 menus. HELM entered maintenance mode on 2026-06-01; nothing was run here.
Task and deliverable · Read the maintenance mode policy first · Prepare the environment
At a glance
The official HELM tutorial walks through a small evaluation with three commands: helm-run runs the benchmark, helm-summarize aggregates it, and helm-server shows the results in a browser. It uses two mmlu runs on openai/gpt2 purely to demonstrate the workflow, and it says outright that GPT-2 performs poorly on MMLU. This guide sets the task as "learn which files one evaluation leaves behind, and check each of them": the two run directories, the five JSON files inside each, the files helm-summarize adds, and the four menus at http://localhost:8000/. HELM entered maintenance mode on June 1, 2026, so read that policy before you start. This site has not installed or run HELM. Where the official pages are silent, the text says "the official pages do not say".
File flow from helm-run to the browser
Confirm the maintenance status and environment
HELM entered maintenance mode on 2026-06-01. No new features and no new leaderboard evaluations will be added, volunteers maintain it on a best-effort basis, and scenarios and models can break when external APIs change. The Installation page requires Python 3.10 or later, recommends a virtual environment, and then runs
pip install crfm-helm.helm-run: five JSON files per run
helm-runexecutes one run for each entry after--run-entriesand writes the output into the subdirectory named by--suite. Each run gets its own directory, named after the run entry with/replaced by_. Inside arerun_spec.json,scenario.json,scenario_state.json,per_instance_stats.jsonandstats.json.helm-summarize: read those files back and write the summary
helm-summarize --suite my-suitereads the files already in the suite directory and writessummary.json,run_specs.json,runs.json,groups.jsonandgroups_metadata.jsonback into it. It also writes one pair of files per group and relevant metric undergroups/latex/andgroups/json/.helm-server: view it at localhost:8000
helm-server --suite my-suitestarts a web server. Openhttp://localhost:8000/and the top menu shows Leaderboards, Models, Scenarios and Predictions.Check each of the three outputs
The task is done once you have checked the directory names and five JSON files, the files summarize adds, and the four menus in the page. The Quick Start page writes the same three commands as a single philosophy run, while the tutorial page uses an anatomy run and a philosophy run. This guide follows the tutorial page.
Task and deliverable
The task is to run the two runs from the official tutorial on your own machine and confirm that what appears on disk and in the browser matches the tutorial. The deliverable is the suite directory benchmark_output/runs/my-suite/: five JSON files written by helm-run in each run directory, the summary files helm-summarize adds to the suite directory, and a helm-server that opens at http://localhost:8000/.
The running example is the tutorial's two runs, mmlu:subject=anatomy,model=openai/gpt2 and mmlu:subject=philosophy,model=openai/gpt2, with suite name my-suite and --max-eval-instances 10. MMLU is a question-answering dataset covering 57 subjects, and the tutorial takes one subject for each run, anatomy and philosophy. The tutorial says GPT-2 performs poorly on MMLU and that this is only a proof of concept, so the checks target files and pages, not leaderboard scores.
Read the maintenance mode policy first
The official documentation has a Maintenance Mode Policy page, and its first sentence says HELM entered maintenance mode on June 1, 2026 (2026-06-01). According to the page, volunteer maintainers will keep maintaining HELM on a best-effort basis, and the code and leaderboards stay available as open-source resources. No new features will be added, and no new evaluations will be added to the HELM leaderboards.
For this task, another paragraph on that page matters more. The core framework is likely to keep working for an extended period, but many scenarios and models depend on external APIs that may change in backward-incompatible ways, and model providers may deprecate models. Scenarios and models may therefore break for lack of active support. The page recommends testing your scenarios and models before relying on them. The official page makes no promise that mmlu and openai/gpt2 still run as in the tutorial by the time you read this, and this site has not verified it.
The rest of the page: report bugs and ask usage questions on the GitHub Issues page, and maintainers answer when they have bandwidth. There is no fixed release cadence, and new versions go to PyPI as needed. You may fork HELM if you comply with the Apache 2.0 License. The page also lists alternative open-source LLM evaluation frameworks in alphabetical order: Evalchemy, Inspect AI Evals, Lighteval, LLM Evaluation Harness and Unitxt. Whether to switch depends on your needs, and this guide does not compare them. For an overview of the tool itself, see the site's HELM tool page.
Prepare the environment
- Python 3.10 or later. The Installation page requires Python >=3.10 and recommends a virtual environment to avoid dependency conflicts.
- A virtual environment. The page shows two ways to create one, virtualenv and Anaconda. The commands in the next section use the virtualenv version.
- Network and disk. The official pages do not say whether
openai/gpt2andmmluneed to download model weights or datasets, nor how large or slow that would be. Treat it as unknown and try it on a machine with network access and spare disk. - Credentials. The tutorial says credentials for making API calls go into a
credentials.conffile in the environment directory, which isprod_env/by default and can be changed with--local-path. The tutorial example configures no credentials and does not say whether it needs any. The page does not give the format ofcredentials.confeither. - A browser. The page gives the address
http://localhost:8000/and does not mention how to change the port. - Multimodal evaluations (HEIM, VHELM) need extra dependencies, and the Installation page points to their own documentation. This guide does not cover them.
How the three commands fit together
All three commands share one --suite name. In the tutorial, --suite names a subdirectory under the output directory where all the output goes, and helm-summarize and helm-server read it back by the same name. The page does not say what happens when the names differ, so keeping the three names identical is a rule you have to enforce yourself.
A run entry describes an evaluation to run. The page does not explain its syntax separately. The two examples show only this: before the colon is the scenario name mmlu, and after it come subject= and model=, separated by a comma. --run-entries accepts several entries, two in the tutorial, separated by spaces.
--max-eval-instances limits evaluation to N instances from the benchmark, taken from a randomly shuffled order. The page does not say whether that shuffle is reproducible, so do not assume two runs see the same 10 instances, and do not use it to compare scores across runs.
Run directory names come from the run entries. The only replacement the page describes is / becoming _, so openai/gpt2 turns into openai_gpt2. The two directory names the page lists still contain :, = and ,.
helm-run creates an environment directory prod_env/ and an output directory benchmark_output/ by default. --local-path changes the first and --output-path changes the second. The page does not say which directory they are created in, so this guide assumes the directory where you run the command. helm-summarize reads the files helm-run already wrote, computes aggregate statistics across runs, and writes new files back into the same suite directory. helm-server starts a web server that visualizes the output. The page does not say what helm-server shows if you have not summarized first.
Which files each step writes
| Command | File | What the page says |
|---|---|---|
helm-run | run_spec.json | The RunSpec, which specifies the scenario, adapter and metrics for the run |
helm-run | scenario.json | A serialized Scenario, which holds the scenario for the run and specifies the instances (inputs) used |
helm-run | scenario_state.json | A serialized ScenarioState, which holds every request to and response from the model |
helm-run | per_instance_stats.json | A list of PerInstanceStats, the statistics for each metric on each instance (input) |
helm-run | stats.json | Described as a serialized list of PerInstanceStats, with the metric statistics aggregated across all instances; the page uses the same type name as for the previous file and does not explain the difference |
helm-summarize | summary.json | A serialized ExecutiveSummary with a date and suite name |
helm-summarize | run_specs.json | The run entries for all the runs |
helm-summarize | runs.json | A serialized list of Run, with the run path, run spec, adapter spec and statistics for each run |
helm-summarize | groups.json | A serialized list of Table, each with information about the groups in one group category |
helm-summarize | groups_metadata.json | A list of all groups with a human-readable description and a taxonomy |
helm-summarize | groups/latex/<group_name>_<metric_name>.tex and groups/json/<group_name>_<metric_name>.json | One pair of files per group and group-relevant metric, with that metric's statistics for each run in the group |
helm-server | The page mentions no files written | Serves the visualization at http://localhost:8000/, with the top menu Leaderboards, Models, Scenarios, Predictions |
Following the table, once both runs and the summary are done, the suite directory should look like the tree below. It is an illustrative tree put together from the tutorial text, not real ls output. The page does not list actual values for <group_name> and <metric_name>.
benchmark_output/
└── runs/
└── my-suite/
├── mmlu:subject=anatomy,model=openai_gpt2/
│ ├── run_spec.json
│ ├── scenario.json
│ ├── scenario_state.json
│ ├── per_instance_stats.json
│ └── stats.json
├── mmlu:subject=philosophy,model=openai_gpt2/
│ ├── run_spec.json
│ ├── scenario.json
│ ├── scenario_state.json
│ ├── per_instance_stats.json
│ └── stats.json
├── summary.json
├── run_specs.json
├── runs.json
├── groups.json
├── groups_metadata.json
└── groups/
├── latex/<group_name>_<metric_name>.tex
└── json/<group_name>_<metric_name>.json
Complete the task
Step 1, create the environment and install. On a machine that can run Python 3.10, create and activate a virtual environment, then install crfm-helm. The commands below come from the Virtualenv and Install HELM sections of the Installation page, with the original comments kept.
# Create a virtual environment.
# Only run this the first time.
python3 -m pip install virtualenv
python3 -m virtualenv -p python3.10 helm-venv
# Activate the virtual environment.
source helm-venv/bin/activate
pip install crfm-helm
Check: run python --version to confirm the activated interpreter is 3.10 or later, then command -v helm-run helm-summarize helm-server to confirm all three commands are found. It should print three paths. Both checks are this site's own practice and are not on the page. The page also gives no package version for crfm-helm, so record the installed version with pip show crfm-helm for the delivery note.
Step 2, run the two runs. The command is the tutorial's own, written on one line, with the two run entries separated by a space.
helm-run --run-entries mmlu:subject=anatomy,model=openai/gpt2 mmlu:subject=philosophy,model=openai/gpt2 --suite my-suite --max-eval-instances 10
The tutorial shows no terminal log, so there is no "this line means success" rule. The check this site uses is the exit status and the files on disk: run echo $? in the same terminal right after the command, and do not continue if the result is not 0. The tutorial also says helm-run creates prod_env/ and benchmark_output/ by default, so you can confirm both exist first.
Step 3, check the run directories and the five JSON files. The official tutorial sends you to benchmark_output/runs/my-suite/, where you should see two subdirectories named mmlu:subject=anatomy,model=openai_gpt2 and mmlu:subject=philosophy,model=openai_gpt2, each holding the five files the tutorial lists. This guide runs every check from one working directory: the directory where you ran helm-run, which is the parent of benchmark_output/ (the page does not say which directory it is created in, so this is this site's assumption). The scripts use paths relative to that directory, so do not cd into the suite directory first. The script below is this site's illustrative code, not official text. Save it as check_runs.sh and run bash check_runs.sh; echo $? in the working directory. It first checks that both directory names match the tutorial exactly, then checks that each of the five files exists and is not empty, and finally prints the number of problems and reports the result through its exit status.
check_runs.sh: checks the two directory names and that the 10 files exist and are non-empty; exit status 0 means pass; not run against real HELM output in this batchsuite=benchmark_output/runs/my-suite
fail=0
for run in 'mmlu:subject=anatomy,model=openai_gpt2' 'mmlu:subject=philosophy,model=openai_gpt2'; do
if [ ! -d "$suite/$run" ]; then
echo "MISSING DIR $run"
fail=$((fail + 1))
continue
fi
for name in run_spec scenario scenario_state per_instance_stats stats; do
if [ -s "$suite/$run/$name.json" ]; then
echo "ok $run/$name.json"
else
echo "MISSING/EMPTY $run/$name.json"
fail=$((fail + 1))
fi
done
done
echo "problems: $fail"
[ "$fail" -eq 0 ]
Check: you should get 10 lines of ok, a final problems: 0, and echo $? printing 0. MISSING DIR means a directory name differs from the one the tutorial lists, and MISSING/EMPTY means a file is missing or empty; either way the exit status is 1. Non-empty is this site's own criterion, not the page's. The tutorial says each directory holds "several JSON files" and lists these five. It does not say whether other files can appear, so extra files are not a failure. If you are looking for a directory name like openai/gpt2, remember the page says / becomes _.
Step 4, summarize. Run it from the same working directory. helm-summarize reads the files written in the last step and writes new files into the same suite directory.
helm-summarize --suite my-suite
Check: the suite directory gains summary.json, run_specs.json, runs.json, groups.json and groups_metadata.json, plus the directories groups/latex/ and groups/json/ holding <group_name>_<metric_name>.tex and .json files. The page does not list the actual group and metric names or say how many pairs of files to expect, so the script checks only three things: the five summary JSON files exist and are non-empty; groups/latex/ holds at least one .tex file, and every .tex has a same-named .json under groups/json/ and the other way round; and both directories hold the same number of files. Same-name pairing is a check inferred from the page's "pair of files per group and metric" description, and non-empty is this site's own criterion. The script is also this site's illustrative code. Save it as check_summary.sh and run bash check_summary.sh; echo $? in the working directory. A pass ends with problems: 0 and exit status 0.
check_summary.sh: checks the summary files are non-empty and the .tex and .json files pair up; exit status 0 means pass; not run against real HELM output in this batchsuite=benchmark_output/runs/my-suite
fail=0
for name in summary run_specs runs groups groups_metadata; do
if [ -s "$suite/$name.json" ]; then
echo "ok $name.json"
else
echo "MISSING/EMPTY $name.json"
fail=$((fail + 1))
fi
done
n_tex=0
n_json=0
for f in "$suite"/groups/latex/*.tex; do
[ -e "$f" ] || continue
n_tex=$((n_tex + 1))
base=$(basename "$f" .tex)
[ -s "$f" ] || { echo "EMPTY groups/latex/$base.tex"; fail=$((fail + 1)); }
[ -s "$suite/groups/json/$base.json" ] || { echo "NO PAIR groups/json/$base.json"; fail=$((fail + 1)); }
done
for f in "$suite"/groups/json/*.json; do
[ -e "$f" ] || continue
n_json=$((n_json + 1))
base=$(basename "$f" .json)
[ -f "$suite/groups/latex/$base.tex" ] || { echo "NO PAIR groups/latex/$base.tex"; fail=$((fail + 1)); }
done
echo "groups/latex: $n_tex .tex files, groups/json: $n_json .json files"
[ "$n_tex" -gt 0 ] || { echo "no .tex files under groups/latex"; fail=$((fail + 1)); }
[ "$n_tex" -eq "$n_json" ] || fail=$((fail + 1))
echo "problems: $fail"
[ "$fail" -eq 0 ]
Step 5, open the page. Run it from the working directory too. helm-server starts a web server, and then you visit http://localhost:8000/ in a browser.
helm-server --suite my-suite
Check: the top menu should show Leaderboards, Models, Scenarios and Predictions. According to the tutorial, Leaderboards holds the leaderboards with aggregate metrics, Models and Scenarios list the models and scenarios with descriptions, and Predictions is a searchable list of runs. The page says the view resembles the live website for the paper, but with the data from your own runs. To confirm your two runs appear, look for anatomy and philosophy under Predictions. The page does not give the display names of those entries, so if you cannot find them, go back to step 3 and check the files first. The page does not say how to stop the server either. In a terminal that is usually Ctrl+C, which is general terminal practice and not part of the page.
Checklist and failure exits
| Condition | How to check | Basis |
|---|---|---|
| Both run directory names are correct | Run ls benchmark_output/runs/my-suite/ from the working directory; openai/gpt2 appears as openai_gpt2 in the names; the step 3 script and the Python script compare against the full directory names | Tutorial page: the directory name is the run entry with / replaced by _ |
| Each run directory has five non-empty JSON files | The step 3 script: 10 lines of ok, problems: 0, exit status 0 | The five files listed on the tutorial page; "non-empty" is this site's own criterion |
| All 10 files parse as JSON | The Python script below: parsed: 10 of 10, problems: 0 and exit status 0, all three together | This site's own check; the page only says these are JSON files and does not describe their fields |
| Summary files appear after summarize | The step 4 script: problems: 0, exit status 0 | The five files and the two kinds of files under groups/ listed on the tutorial page; the pairing check is inferred from the page's "pair of files" description |
| The page opens with four menus | Visit http://localhost:8000/ in a browser | Tutorial page: Leaderboards, Models, Scenarios, Predictions |
The Python script below also runs from the working directory. It checks the two full directory names the tutorial lists, then parses each of the 10 files once, and an empty file counts as a failure. It does not read any inner fields, because the page does not describe their structure. To decide whether it passed, look at three things together: the last two lines parsed: 10 of 10 and problems: 0, and exit status 0. When no directory is found it still prints problems, but the number is not 0 and the exit status is 1.
import json
from pathlib import Path
suite = Path('benchmark_output/runs/my-suite')
expected = [
'mmlu:subject=anatomy,model=openai_gpt2',
'mmlu:subject=philosophy,model=openai_gpt2',
]
names = ['run_spec', 'scenario', 'scenario_state', 'per_instance_stats', 'stats']
parsed = 0
bad = 0
for run_name in expected:
run = suite / run_name
if not run.is_dir():
bad += 1
print('MISSING DIR', run)
continue
for name in names:
path = run / f'{name}.json'
try:
text = path.read_text(encoding='utf-8')
if not text.strip():
raise ValueError('empty file')
json.loads(text)
except (OSError, ValueError) as error:
bad += 1
print('FAIL', path, error)
else:
parsed += 1
print('ok ', path, len(text.encode('utf-8')), 'bytes')
total = len(expected) * len(names)
print('parsed:', parsed, 'of', total)
print('problems:', bad)
raise SystemExit(0 if bad == 0 and parsed == total else 1)
helm-run,helm-summarizeorhelm-serveris not found: the page does not describe the cause. This site's order of checks is to confirm the virtual environment is active, then confirm withpython --versionthat the interpreter is 3.10 or later (the Installation page's requirement), and then go back to step 1 and reinstall. That order is this site's practice, not an official diagnosis.benchmark_output/is missing: the page does not say which directory it is created in. Look in the directory where you ran the command first, then check whether--output-pathmoved it.- The subdirectory names do not match: you may be looking for
openai/gpt2instead ofopenai_gpt2. A wrongsubject=in the run entry also changes the directory name. - A directory lacks JSON files: the page does not describe what an interrupted run leaves behind, nor whether rerunning the same suite overwrites or appends. For a clean comparison, rerun under a new suite name and change the name in all three commands together.
- No new files after summarize: check that both commands used
--suite my-suite, then that both point at the same output directory. helm-runitself errors, or a model or scenario is unavailable: the maintenance mode page names the sources of this kind of problem, external API changes and model deprecation, and says to open an issue on the GitHub Issues page, which maintainers handle when they have bandwidth. If credentials are needed, they go intoprod_env/credentials.conf, whose format the page does not give.- The page does not open: the official pages give the address
http://localhost:8000/but do not say how to change the port or the bind address, and they give no troubleshooting notes, so this guide does not guess at causes. First confirm thehelm-serverprocess is still running and that you are visiting exactly that address.
Final delivery and verification
Keep the items below together so someone else can verify your result.
- The suite directory path, plus the output of
find benchmark_output/runs/my-suite -maxdepth 2 | sort(this site's way of listing it; the page does not specify one). - The three commands you actually ran, including
--max-eval-instances 10, and the version number frompip show crfm-helm. - The full output of the step 3 script, the step 4 script and the Python script, and the exit status of each.
- A screenshot of the four menus at
http://localhost:8000/. - One sentence of context: the tutorial only says GPT-2 performs poorly on MMLU and that this example is a proof of concept; this example demonstrates the workflow and is not enough to draw conclusions about model capability (the second half is this guide's own judgment, not the tutorial's); and the HELM you used entered maintenance mode on 2026-06-01.
Scope and limits
- Terminal output examples, run time, file sizes, the inner fields of the JSON files and sample contents: the official pages do not say, so this guide shows no real HELM logs or sample output.
- Whether
openai/gpt2andmmluneed to download a model or dataset, and whether they need credentials: the official pages do not say. - Whether rerunning the same suite overwrites or appends, and whether
helm-summarizemust be run again after adding a run: the official pages do not say. - Whether the random order behind
--max-eval-instancesis reproducible, and whether the 10 instances apply to each run separately: the official pages do not say. - Which operating systems are supported, and whether file names containing a colon work on your file system: the official pages do not say.
- Which scenarios or models have already broken: the official pages give no list and only recommend testing before use.
- What each leaderboard metric means and how to read the scores: the official pages do not say, and this guide does not explain them.
This batch did not install HELM, run any HELM command, or open localhost:8000. The facts come from four pages of the official HELM documentation (Tutorial, Installation, Maintenance Mode Policy and Quick Start, read on 2026-11-24). The pages show the latest version and do not give a matching package version. The step 3 and step 4 scripts and the Python check are this site's illustrative code, rechecked after this revision on hand-built placeholder directories: the scripts cover different ground. The step 3 script and the Python script look only at the 10 JSON files in the two run directories: a complete directory passes, and empty files, missing files, wrong directory names or no matching directory give exit status 1, as does corrupt JSON for the Python script. Neither reads groups/. The step 4 script looks only at the summary files and groups/: a complete directory passes, and missing summary files, empty groups/ directories or unpaired .tex and .json files give exit status 1. The placeholder directories were not generated by HELM and the scripts never ran on real HELM output, so whether they fit real output unchanged is still unconfirmed.
Article sources
Original editorial content; official descriptions and checking suggestions are distinguished.