Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Akegarasu authored Mar 19, 2023
1 parent 4ee76b1 commit a06a58c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

A webui for ChatGLM made by THUDM. [chatglm-6b](https://huggingface.co/THUDM/chatglm-6b)

![image](https://user-images.githubusercontent.com/36563862/226165277-acc5ba44-8041-4c30-a6aa-2746c87f8475.png)

## Features

- Original Chat like [chatglm-6b](https://huggingface.co/THUDM/chatglm-6b)'s demo, but use Gradio Chatbox for better user experience.
- One click install script (but you still must install python)
- Convenient save/load dialog history, presets
- Save to Markdown
- Use program arguments to specify model and caculation accuracy

## Install

Expand All @@ -26,7 +35,7 @@ bash install.sh
python webui.py
```

### Args
### Arguments

`--model-path`: specify model path. If this parameter is not specified manually, the default value is `THUDM/chatglm-6b`. Transformers will automatically download model from huggingface.

Expand All @@ -38,4 +47,4 @@ python webui.py

`--precision`: fp16, int4, int8

`--cpu`: use cpu
`--cpu`: use cpu

0 comments on commit a06a58c

Please sign in to comment.