add web demo

This commit is contained in:
hiyouga
2023-07-18 17:21:16 +08:00
parent bdf91846da
commit b447fa85aa
4 changed files with 59 additions and 4 deletions

View File

@@ -291,6 +291,14 @@ python src/cli_demo.py \
--checkpoint_dir path_to_checkpoint
```
### Web Demo
```bash
python src/web_demo.py \
--model_name_or_path path_to_your_model \
--checkpoint_dir path_to_checkpoint
```
### Export model
```bash