Skip to content

llm-efficiency-challenge/helm

 
 

Repository files navigation

Holistic Evaluation of Language Models

Welcome! The crfm-helm Python package contains code used in the Holistic Evaluation of Language Models project (paper, website) by Stanford CRFM. This package includes the following features:

  • Collection of datasets in a standard format (e.g., NaturalQuestions)
  • Collection of models accessible via a unified API (e.g., GPT-3, MT-NLG, OPT, BLOOM)
  • Collection of metrics beyond accuracy (efficiency, bias, toxicity, etc.)
  • Collection of perturbations for evaluating robustness and fairness (e.g., typos, dialect)
  • Modular framework for constructing prompts from datasets
  • Proxy server for managing accounts and providing unified interface to access models

To get started, refer to the documentation on Read the Docs for how to install and run the package.

Directory Structure

The directory structure for this repo is as follows

├── docs # MD used to generate readthedocs │ ├── scripts # Python utility scripts for HELM │ ├── cache │ ├── data_overlap # Calculate train test overlap │ │ ├── common │ │ ├── scenarios │ │ └── test │ ├── efficiency │ ├── fact_completion │ ├── offline_eval │ └── scale └── src ├── helm # Benchmarking Scripts for HELM │ │ │ ├── benchmark # Main Python code for running HELM │ │ │ │ │ └── static # Current JS (Jquery) code for rendering front-end │ │ │ │ │ └── ... │ │ │ ├── common # Additional Python code for running HELM │ │ │ └── proxy # Python code for external web requests │ └── helm-frontend # New React Front-end

About

Holistic Evaluation of Language Models (HELM), a framework to increase the transparency of language models (https://arxiv.org/abs/2211.09110).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.7%
  • JavaScript 3.8%
  • TypeScript 3.3%
  • Jupyter Notebook 0.5%
  • HTML 0.5%
  • Shell 0.1%
  • Other 0.1%