Skip to content

Commit

Permalink
chore: update requirements in README.md (#659)
Browse files Browse the repository at this point in the history
chore: update requirements

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
  • Loading branch information
aarnphm authored Nov 15, 2023
1 parent 034e08c commit 9e6df0d
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 3 deletions.
64 changes: 64 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,14 @@ OpenLLM currently supports the following models. By default, OpenLLM doesn't inc
### Quickstart
> **Note:** Baichuan requires to install with:
> ```bash
> pip install "openllm[baichuan]"
> ```
Run the following command to quickly spin up a Baichuan server:
```bash
Expand Down Expand Up @@ -244,6 +252,14 @@ openllm start baichuan-inc/baichuan-7b --backend pt
### Quickstart
> **Note:** ChatGLM requires to install with:
> ```bash
> pip install "openllm[chatglm]"
> ```
Run the following command to quickly spin up a ChatGLM server:
```bash
Expand Down Expand Up @@ -365,6 +381,14 @@ openllm start databricks/dolly-v2-3b --backend pt
### Quickstart
> **Note:** Falcon requires to install with:
> ```bash
> pip install "openllm[falcon]"
> ```
Run the following command to quickly spin up a Falcon server:
```bash
Expand Down Expand Up @@ -434,6 +458,14 @@ openllm start tiiuae/falcon-7b --backend pt
### Quickstart
> **Note:** FlanT5 requires to install with:
> ```bash
> pip install "openllm[flan-t5]"
> ```
Run the following command to quickly spin up a FlanT5 server:
```bash
Expand Down Expand Up @@ -553,6 +585,14 @@ openllm start eleutherai/gpt-neox-20b --backend pt
### Quickstart
> **Note:** Llama requires to install with:
> ```bash
> pip install "openllm[llama]"
> ```
Run the following command to quickly spin up a Llama server:
```bash
Expand Down Expand Up @@ -699,6 +739,14 @@ openllm start HuggingFaceH4/zephyr-7b-alpha --backend pt
### Quickstart
> **Note:** MPT requires to install with:
> ```bash
> pip install "openllm[mpt]"
> ```
Run the following command to quickly spin up a MPT server:
```bash
Expand Down Expand Up @@ -771,6 +819,14 @@ openllm start mosaicml/mpt-7b --backend pt
### Quickstart
> **Note:** OPT requires to install with:
> ```bash
> pip install "openllm[opt]"
> ```
Run the following command to quickly spin up a OPT server:
```bash
Expand Down Expand Up @@ -911,6 +967,14 @@ openllm start stabilityai/stablelm-tuned-alpha-3b --backend pt
### Quickstart
> **Note:** StarCoder requires to install with:
> ```bash
> pip install "openllm[starcoder]"
> ```
Run the following command to quickly spin up a StarCoder server:
```bash
Expand Down
64 changes: 64 additions & 0 deletions openllm-python/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions tools/update-readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ def main() -> int:

for it in CONFIG_MAPPING.values():
it = it()
details_block = ['<details>\n']
architecture_name = it.__class__.__name__[:-6]
details_block = ['<details>\n', f'<summary>{architecture_name}</summary>\n\n', '### Quickstart\n']
if it['start_name'] in deps:
instruction = f'> ```bash\n> pip install "openllm[{it["start_name"]}]"\n> ```'
details_block.extend(markdown_noteblock(f'{architecture_name} requires to install with:\n{instruction}\n'))
details_block.extend(
[
f'<summary>{architecture_name}</summary>\n\n',
'### Quickstart\n',
f'Run the following command to quickly spin up a {architecture_name} server:\n',
f"""\
```bash
Expand Down

0 comments on commit 9e6df0d

Please sign in to comment.