ONNX Model Zoo

csukuangfj/paraformer-onnxruntime-python-example

By csukuangfj · ↓ 12 · ♥ 7 · Updated 2024-01-10

What's in this repo

This page lists the files in csukuangfj/paraformer-onnxruntime-python-example, including model.int8.onnx, model.onnx.

  • 2 ONNX models (.onnx files)
  • 17 files, including 5 .py, 3 .wav, 2 .onnx, 2 .txt, 1 .md, 1 .mvn
  • Last updated 2024-01-10

ONNX files

File Size Download
model.int8.onnx — Download
model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

Introduction

This repo shows how to run Paraformer with onnxruntime in Python.

model.onnx is converted from https://www.modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch

Usage

git lfs install
git clone https://huggingface.co/csukuangfj/paraformer-onnxruntime-python-example

cd paraformer-onnxruntime-python-example

pip install -r ./requirements.txt

./test-paraformer-onnx.py

Model info

onnx arxiv:2206.08317 license:mit region:us
↓ 12 ♥ 7

Created: 2023-03-26

Updated: 2024-01-10

View on Hugging Face

Files (17)

.gitattributes
.gitignore
0.wav
1.wav
2.wav
README.md
add-model-metadata.py
am.mvn
config.yaml
convert-tokens.py
download-model.py
model.int8.onnx ONNX
model.onnx ONNX
quantize-model.py
requirements.txt
test-paraformer-onnx.py
tokens.txt

Related models