Skip to content

Commit

Permalink
Update WebGLM-2B tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Longin-Yu committed Jun 14, 2023
1 parent 25e1f99 commit 1abad96
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,33 @@ export WEBGLM_RETRIEVER_CKPT=./download/retriever-pretrained-checkpoint

## Run as Command Line Interface

You can try WebGLM-2B model by:

```bash
python cli_demo.py -w THUDM/WebGLM-2B
```

Or directly for WebGLM-10B model:

```bash
python cli_demo.py
```



## Run as Web Service

You can try WebGLM-2B model by:

```bash
python web_demo.py -w THUDM/WebGLM-2B
```

Or directly for WebGLM-10B model:

```bash
python web_demo.py
```

# Train WebGLM

## Train Generator
Expand Down

0 comments on commit 1abad96

Please sign in to comment.