Update README.md
Browse files
README.md
CHANGED
|
@@ -8,6 +8,12 @@ language:
|
|
| 8 |
base_model:
|
| 9 |
- nvidia/canary-180m-flash
|
| 10 |
pipeline_tag: automatic-speech-recognition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
NVIDIA Canary 180M Flash [model](https://huggingface.co/nvidia/canary-180m-flash) converted to ONNX format for [onnx-asr](https://github.com/istupakov/onnx-asr).
|
|
@@ -17,9 +23,10 @@ Install onnx-asr
|
|
| 17 |
pip install onnx-asr[cpu,hub]
|
| 18 |
```
|
| 19 |
|
| 20 |
-
Load Canary 180M model and recognize wav file
|
| 21 |
```py
|
| 22 |
import onnx_asr
|
| 23 |
model = onnx_asr.load_model("istupakov/canary-180m-flash-onnx")
|
| 24 |
-
print(model.recognize("test.wav"))
|
|
|
|
| 25 |
```
|
|
|
|
| 8 |
base_model:
|
| 9 |
- nvidia/canary-180m-flash
|
| 10 |
pipeline_tag: automatic-speech-recognition
|
| 11 |
+
tags:
|
| 12 |
+
- automatic-speech-recognition
|
| 13 |
+
- automatic-speech-translation
|
| 14 |
+
- asr
|
| 15 |
+
- onnx
|
| 16 |
+
- onnx-asr
|
| 17 |
---
|
| 18 |
|
| 19 |
NVIDIA Canary 180M Flash [model](https://huggingface.co/nvidia/canary-180m-flash) converted to ONNX format for [onnx-asr](https://github.com/istupakov/onnx-asr).
|
|
|
|
| 23 |
pip install onnx-asr[cpu,hub]
|
| 24 |
```
|
| 25 |
|
| 26 |
+
Load Canary 180M Flash model and recognize wav file
|
| 27 |
```py
|
| 28 |
import onnx_asr
|
| 29 |
model = onnx_asr.load_model("istupakov/canary-180m-flash-onnx")
|
| 30 |
+
print(model.recognize("test.wav", language="en"))
|
| 31 |
+
print(model.recognize("test.wav", language="en", target_language="fr"))
|
| 32 |
```
|