add web demo

Former-commit-id: 25ea647e5ac36b497b8e176b123fdee39be3fd30
This commit is contained in:
hiyouga
2023-07-18 17:21:16 +08:00
parent 5ed2a97056
commit 8e4ae0aaac
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