Skip to content

Commit 731d732

Browse files
committed
Add index page and navigation to documentation
1 parent 56068d6 commit 731d732

File tree

6 files changed

+48
-12
lines changed

6 files changed

+48
-12
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
1+
<!--intro-start-->
2+
# Holistic Evaluation of Language Models
3+
14
[comment]: <> (When using the img tag, which allows us to specify size, src has to be a URL.)
25
<img src="https://github.com/stanford-crfm/helm/raw/main/src/helm/benchmark/static/images/helm-logo.png" alt="" width="800"/>
36

4-
Welcome! This repository contains all the assets for [Holistic Evaluation of Language Models](https://arxiv.org/abs/2211.09110),
5-
which includes the following features:
7+
Welcome! The **`crfm-helm`** Python package contains code used in the **Holistic Evaluation of Language Models** project ([paper](https://arxiv.org/abs/2211.09110), [website](https://crfm.stanford.edu/helm/v1.0/)) by [Stanford CRFM](https://crfm.stanford.edu/). This package includes the following features:
68

79
- Collection of datasets in a standard format (e.g., NaturalQuestions)
810
- Collection of models accessible via a unified API (e.g., GPT-3, MT-NLG, OPT, BLOOM)
911
- Collection of metrics beyond accuracy (efficiency, bias, toxicity, etc.)
1012
- Collection of perturbations for evaluating robustness and fairness (e.g., typos, dialect)
1113
- Modular framework for constructing prompts from datasets
1214
- Proxy server for managing accounts and providing unified interface to access models
15+
<!--intro-end-->
1316

14-
To read more:
15-
16-
- [Setup](docs/setup.md): how to run the code
17-
- [Code](docs/code.md): how to contribute new scenarios or models
18-
- [Running the proxy server](docs/proxy-server.md)
19-
- [Running the benchmark](docs/benchmark.md)
20-
- [Deployment](docs/deployment.md): for CRFM maintainers of the proxy server
17+
To get started, refer to [the documentation on Read the Docs](https://crfm-helm.readthedocs.io/) for how to install and run the package.

docs/code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Code structure
1+
# Code Structure
22

33
Here's a birds-eye view of how the benchmarking process interacts with the main
44
classes (see `benchmark`):

docs/index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{%
2+
include-markdown "../README.md"
3+
start="<!--intro-start-->"
4+
end="<!--intro-end-->"
5+
%}
6+
7+
The code is [hosted on GitHub here](https://github.com/stanford-crfm/helm/).
8+
9+
To run the code, refer to the User Guide's chapters:
10+
11+
- [Installation](installation.md)
12+
- [Quick Start](quick_start.md)
13+
- [Tutorial](tutorial.md)
14+
15+
To add new models and scenarios, refer to the Developer Guide's chapters:
16+
17+
- [Developer Setup](developer_setup.md)
18+
- [Code Structure](code.md)

docs/proxy-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Proxy access to language models
1+
# Proxy Access to Language Models
22

33
We provide a single unified entry point into accessing large language models
44
(e.g., GPT-3, Jurassic). This provides both a web interface and a REST API.

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
mkdocs==1.4.2
22
mkdocstrings[python]==0.19.0
33
mkdocs-macros-plugin==0.7.0
4+
mkdocs-include-markdown-plugin==4.0.0

mkdocs.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
site_name: CRFM HELM
2-
repo_url: https://github.com/example/repository/
2+
repo_url: https://github.com/stanford-crfm/helm/
3+
edit_uri: blob/main/docs/
34
theme:
45
name: readthedocs
56
highlightjs: false
@@ -18,9 +19,28 @@ plugins:
1819
show_root_full_path: false
1920
show_if_no_docstring: true
2021
members_order: source
22+
- include-markdown
2123
extra_css:
2224
- docstrings.css
2325
markdown_extensions:
2426
- pymdownx.magiclink
2527
watch:
2628
- src
29+
nav:
30+
- 'Home': 'index.md'
31+
- 'User Guide':
32+
- 'installation.md'
33+
- 'quick_start.md'
34+
- 'tutorial.md'
35+
- 'benchmark.md'
36+
- 'proxy-server.md'
37+
- 'Reference':
38+
- 'models.md'
39+
- 'metrics.md'
40+
- 'perturbations.md'
41+
- 'run_expanders.md'
42+
- 'scenarios.md'
43+
- 'schemas.md'
44+
- 'Developer Guide':
45+
- 'developer_setup.md'
46+
- 'code.md'

0 commit comments

Comments
 (0)