Framework for evaluation of foundation models
Project description
Holistic Evaluation of Language Models (HELM)
Holistic Evaluation of Language Models (HELM) is an open source Python framework created by the Center for Research on Foundation Models (CRFM) at Stanford for holistic, reproducible and transparent evaluation of foundation models, including large language models (LLMs) and multimodal models. This framework includes the following features:
- Datasets and benchmarks in a standardized format (e.g. MMLU-Pro, GPQA, IFEval, WildBench)
- Models from various providers accessible through a unified interface (e.g. OpenAI models, Anthropic Claude, Google Gemini)
- Metrics for measuring various aspects beyond accuracy (e.g. efficiency, bias, toxicity)
- Web UI for inspecting individual prompts and responses
- Web leaderboard for comparing results across models and benchmarks
Documentation
Please refer to the documentation on Read the Docs for instructions on how to install and run HELM.
Quick Start
Install the package from PyPI:
pip install crfm-helm
Run the following in your shell:
# Run benchmark
helm-run --run-entries mmlu:subject=philosophy,model=openai/gpt2 --suite my-suite --max-eval-instances 10
# Summarize benchmark results
helm-summarize --suite my-suite
# Start a web server to display benchmark results
helm-server --suite my-suite
Then go to http://localhost:8000/ in your browser.
Leaderboards
We maintain offical leaderboards with results from evaluating recent models on notable benchmarks using this framework. Our current flagship leaderboards are:
We also maintain leaderboards for a diverse range of domains (e.g. medicine, finance) and aspects (e.g. multi-linguality, world knowledge, regulation compliance). Refer to the HELM website for a full list of leaderboards.
Papers
The HELM framework was used in the following papers for evaluating models.
- Holistic Evaluation of Language Models - paper, leaderboard
- Holistic Evaluation of Vision-Language Models (VHELM) - paper, leaderboard, documentation
- Holistic Evaluation of Text-To-Image Models (HEIM) - paper, leaderboard, documentation
- Image2Struct: Benchmarking Structure Extraction for Vision-Language Models - paper
- Enterprise Benchmarks for Large Language Model Evaluation - paper, documentation
- The Mighty ToRR: A Benchmark for Table Reasoning and Robustness - paper, leaderboard
- Reliable and Efficient Amortized Model-based Evaluation - paper, documentation
- MedHELM - paper in progress, leaderboard, documentation
- Holistic Evaluation of Audio-Language Models - paper, leaderboard
The HELM framework can be used to reproduce the published model evaluation results from these papers. To get started, refer to the documentation links above for the corresponding paper, or the main Reproducing Leaderboards documentation.
Citation
If you use this software in your research, please cite the Holistic Evaluation of Language Models paper as below.
@article{
liang2023holistic,
title={Holistic Evaluation of Language Models},
author={Percy Liang and Rishi Bommasani and Tony Lee and Dimitris Tsipras and Dilara Soylu and Michihiro Yasunaga and Yian Zhang and Deepak Narayanan and Yuhuai Wu and Ananya Kumar and Benjamin Newman and Binhang Yuan and Bobby Yan and Ce Zhang and Christian Alexander Cosgrove and Christopher D Manning and Christopher Re and Diana Acosta-Navas and Drew Arad Hudson and Eric Zelikman and Esin Durmus and Faisal Ladhak and Frieda Rong and Hongyu Ren and Huaxiu Yao and Jue WANG and Keshav Santhanam and Laurel Orr and Lucia Zheng and Mert Yuksekgonul and Mirac Suzgun and Nathan Kim and Neel Guha and Niladri S. Chatterji and Omar Khattab and Peter Henderson and Qian Huang and Ryan Andrew Chi and Sang Michael Xie and Shibani Santurkar and Surya Ganguli and Tatsunori Hashimoto and Thomas Icard and Tianyi Zhang and Vishrav Chaudhary and William Wang and Xuechen Li and Yifan Mai and Yuhui Zhang and Yuta Koreeda},
journal={Transactions on Machine Learning Research},
issn={2835-8856},
year={2023},
url={https://openreview.net/forum?id=iO4LZibEqW},
note={Featured Certification, Expert Certification}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crfm_helm-0.5.12.tar.gz.
File metadata
- Download URL: crfm_helm-0.5.12.tar.gz
- Upload date:
- Size: 8.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ac444123f8f1f25d71e3727bbd119a5dd53653236b1442a8cad9fc6bb5d6418
|
|
| MD5 |
afd8295d41a8e47796ff2d0973aeb902
|
|
| BLAKE2b-256 |
9e578f0ffd8973d48f0430a9bfa9ed22f6f1f11fed6c547df7d03b468f8c9833
|
Provenance
The following attestation bundles were made for crfm_helm-0.5.12.tar.gz:
Publisher:
python-publish.yml on stanford-crfm/helm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crfm_helm-0.5.12.tar.gz -
Subject digest:
7ac444123f8f1f25d71e3727bbd119a5dd53653236b1442a8cad9fc6bb5d6418 - Sigstore transparency entry: 866334892
- Sigstore integration time:
-
Permalink:
stanford-crfm/helm@23a2e134048bc3f8490533a59a8ee109f42701fa -
Branch / Tag:
refs/tags/v0.5.12 - Owner: https://github.com/stanford-crfm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@23a2e134048bc3f8490533a59a8ee109f42701fa -
Trigger Event:
release
-
Statement type:
File details
Details for the file crfm_helm-0.5.12-py3-none-any.whl.
File metadata
- Download URL: crfm_helm-0.5.12-py3-none-any.whl
- Upload date:
- Size: 8.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01e83d17f7140cccf65443f0117a1375ccd3cec04c5d939587f9e16fcd77cba1
|
|
| MD5 |
5d0a7903a6090b42fa18eb14e7e23180
|
|
| BLAKE2b-256 |
fb507cf798d9f0f6c18456be3bf281fee90e8932485234e8b1bf475e2fcee307
|
Provenance
The following attestation bundles were made for crfm_helm-0.5.12-py3-none-any.whl:
Publisher:
python-publish.yml on stanford-crfm/helm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crfm_helm-0.5.12-py3-none-any.whl -
Subject digest:
01e83d17f7140cccf65443f0117a1375ccd3cec04c5d939587f9e16fcd77cba1 - Sigstore transparency entry: 866334935
- Sigstore integration time:
-
Permalink:
stanford-crfm/helm@23a2e134048bc3f8490533a59a8ee109f42701fa -
Branch / Tag:
refs/tags/v0.5.12 - Owner: https://github.com/stanford-crfm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@23a2e134048bc3f8490533a59a8ee109f42701fa -
Trigger Event:
release
-
Statement type: