update README (#2316)

* update README

* refactor doc
This commit is contained in:
inisis 2024-12-19 13:55:17 +08:00 committed by GitHub
parent f921a71818
commit 1368a9bca4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 6 deletions

View File

@ -312,12 +312,6 @@ model = AutoModel(model="paraformer")
res = model.export(quantize=False)
```
### 优化onnx
```shell
# pip3 install -U onnxslim
onnxslim model.onnx model.onnx
```
### 测试ONNX
```python
# pip3 install -U funasr-onnx

View File

@ -411,6 +411,12 @@ model = AutoModel(model="paraformer", device="cpu")
res = model.export(quantize=False)
```
### optimize onnx
```shell
# pip3 install -U onnxslim
onnxslim model.onnx model.onnx
```
### Test ONNX
```python
# pip3 install -U funasr-onnx

View File

@ -421,6 +421,12 @@ model = AutoModel(model="paraformer")
res = model.export(quantize=False)
```
### 优化onnx
```shell
# pip3 install -U onnxslim
onnxslim model.onnx model.onnx
```
### 测试ONNX
```python
# pip3 install -U funasr-onnx