togethercomputer/helm
forked from stanford-crfm/helm
Captured source
source ↗togethercomputer/helm
Description: Holistic Evaluation of Language Models (HELM), a framework to increase the transparency of language models (https://arxiv.org/abs/2211.09110).
Language: Python
License: Apache-2.0
Stars: 0
Forks: 0
Open issues: 15
Created: 2023-10-30T16:46:33Z
Pushed: 2024-07-25T10:40:15Z
Default branch: main
Fork: yes
Parent repository: stanford-crfm/helm
Archived: no
README:
Holistic Evaluation of Language Models
[comment]: <> (When using the img tag, which allows us to specify size, src has to be a URL.)
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